Class: OpenAIEmbedding
Hierarchy
-
↳
OpenAIEmbedding
Constructors
constructor
• new OpenAIEmbedding(init?
): OpenAIEmbedding
OpenAI Embedding
Parameters
Name | Type | Description |
---|---|---|
init? | Partial <OpenAIEmbedding > & { azure? : AzureOpenAIConfig } | initial parameters |
Returns
Overrides
Defined in
packages/core/src/embeddings/OpenAIEmbedding.ts:57
Properties
additionalSessionOptions
• Optional
additionalSessionOptions: Omit
<Partial
<ClientOptions
>, "apiKey"
| "maxRetries"
| "timeout"
>
other session options for OpenAI
Defined in
packages/core/src/embeddings/OpenAIEmbedding.ts:45
apiKey
• Optional
apiKey: string
= undefined
api key
Defined in
packages/core/src/embeddings/OpenAIEmbedding.ts:39