跳到主要内容

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 = 8191

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 = 8191

text-embedding-ada-002

text-embedding-ada-002: object

text-embedding-ada-002.dimensions

dimensions: number = 1536

text-embedding-ada-002.maxTokens

maxTokens: number = 8191

Source

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