Skip to content

Embedding

PropertyPatternTypeDeprecatedDefinitionTitle/Description
- implementationNoconstNo-Embedding
- modelNostringNo-Model
- connection_handlerNoReference[OpenAIConnectionHandler]NoIn OpenAIConnectionHandlerOverview of OpenAIConnectionHandler components

1. Property implementation

Typeconst
RequiredNo

Description: Embedding

Specific value: "Embedding"

2. Property model

Title: Model

Typestring
RequiredNo
Default"text-embedding-ada-002"

Description: The name of the model to use.

3. Property connection_handler

TypeReference[OpenAIConnectionHandler]
RequiredNo
Default{"implementation": "OpenAIConnectionHandler"}
Defined inOpenAIConnectionHandler

Description: Overview of OpenAIConnectionHandler components