Class: OpenAI
Hierarchy
-
ToolCallLLM
<OpenAIAdditionalChatOptions
>↳
OpenAI
↳↳
FireworksLLM
↳↳
Groq
↳↳
TogetherLLM
Constructors
constructor
• new OpenAI(init?
): OpenAI
Parameters
Name | Type |
---|---|
init? | Partial <OpenAI > & { azure? : AzureOpenAIConfig } |
Returns
Overrides
ToolCallLLM<OpenAIAdditionalChatOptions>.constructor
Defined in
packages/core/src/llm/openai.ts:179
Properties
additionalChatOptions
• Optional
additionalChatOptions: OpenAIAdditionalChatOptions
Defined in
packages/core/src/llm/openai.ts:167
additionalSessionOptions
• Optional
additionalSessionOptions: Omit
<Partial
<ClientOptions
>, "apiKey"
| "timeout"
| "maxRetries"
>
Defined in
packages/core/src/llm/openai.ts:174