Skip to content

OpenAIEmbedding

PropertyPatternTypeDeprecatedDefinitionTitle/Description
+ implementationNoconstNo-Implementation
- modelNostringNo-Model
- connection_handlerNoReference[OpenAIConnectionHandler]No--

1. Property implementation

Title: Implementation

Typeconst
RequiredYes

Specific value: "OpenAIEmbedding"

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"}