Skip to main content

Variable: ALL_OPENAI_EMBEDDING_MODELS

const ALL_OPENAI_EMBEDDING_MODELS: object

Type declaration

text-embedding-3-large

text-embedding-3-large: object

text-embedding-3-large.dimensionOptions

dimensionOptions: number[]

text-embedding-3-large.dimensions

dimensions: number = 3072

text-embedding-3-large.maxTokens

maxTokens: number = 8192

text-embedding-3-large.tokenizer

tokenizer: Tokenizers = Tokenizers.CL100K_BASE

text-embedding-3-small

text-embedding-3-small: object

text-embedding-3-small.dimensionOptions

dimensionOptions: number[]

text-embedding-3-small.dimensions

dimensions: number = 1536

text-embedding-3-small.maxTokens

maxTokens: number = 8192

text-embedding-3-small.tokenizer

tokenizer: Tokenizers = Tokenizers.CL100K_BASE

text-embedding-ada-002

text-embedding-ada-002: object

text-embedding-ada-002.dimensions

dimensions: number = 1536

text-embedding-ada-002.maxTokens

maxTokens: number = 8192

text-embedding-ada-002.tokenizer

tokenizer: Tokenizers = Tokenizers.CL100K_BASE

Defined in

packages/llamaindex/src/embeddings/OpenAIEmbedding.ts:13