Skip to main content

Interface: OpenAITextEmbeddingModelSettings

Hierarchy

Properties

api

Optional api: ApiConfiguration

Inherited from

AbstractOpenAITextEmbeddingModelSettings.api

Defined in

packages/modelfusion/src/model-provider/openai/AbstractOpenAITextEmbeddingModel.ts:17


dimensions

Optional dimensions: number

Inherited from

AbstractOpenAITextEmbeddingModelSettings.dimensions

Defined in

packages/modelfusion/src/model-provider/openai/AbstractOpenAITextEmbeddingModel.ts:21


isUserIdForwardingEnabled

Optional isUserIdForwardingEnabled: boolean

Inherited from

AbstractOpenAITextEmbeddingModelSettings.isUserIdForwardingEnabled

Defined in

packages/modelfusion/src/model-provider/openai/AbstractOpenAITextEmbeddingModel.ts:23


maxValuesPerCall

Optional maxValuesPerCall: number

Inherited from

AbstractOpenAITextEmbeddingModelSettings.maxValuesPerCall

Defined in

packages/modelfusion/src/model-provider/openai/AbstractOpenAITextEmbeddingModel.ts:22


model

model: "text-embedding-3-small" | "text-embedding-3-large" | "text-embedding-ada-002"

Overrides

AbstractOpenAITextEmbeddingModelSettings.model

Defined in

packages/modelfusion/src/model-provider/openai/OpenAITextEmbeddingModel.ts:31


observers

Optional observers: FunctionObserver[]

Observers that are called when the model is used in run functions.

Inherited from

AbstractOpenAITextEmbeddingModelSettings.observers

Defined in

packages/modelfusion/src/model-function/Model.ts:8