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/open_ai.ts:179
Properties
additionalChatOptions
• Optional
additionalChatOptions: OpenAIAdditionalChatOptions
Defined in
packages/core/src/llm/open_ai.ts:167
additionalSessionOptions
• Optional
additionalSessionOptions: Omit
<Partial
<ClientOptions
>, "apiKey"
| "maxRetries"
| "timeout"
>
Defined in
packages/core/src/llm/open_ai.ts:174
apiKey
• Optional
apiKey: string
= undefined