Class: OpenAI
Extends
ToolCallLLM
<OpenAIAdditionalChatOptions
>
Extended by
Constructors
new OpenAI()
new OpenAI(
init
?):OpenAI
Parameters
• init?: Partial
<OpenAI
> & object
Returns
Overrides
ToolCallLLM<OpenAIAdditionalChatOptions>.constructor
Source
packages/core/src/llm/openai.ts:179
Properties
additionalChatOptions?
optional
additionalChatOptions:OpenAIAdditionalChatOptions
Source
packages/core/src/llm/openai.ts:167
additionalSessionOptions?
optional
additionalSessionOptions:Omit
<Partial
<ClientOptions
>,"apiKey"
|"timeout"
|"maxRetries"
>
Source
packages/core/src/llm/openai.ts:174
apiKey?
optional
apiKey:string
=undefined
Source
packages/core/src/llm/openai.ts:170
maxRetries
maxRetries:
number
Source
packages/core/src/llm/openai.ts:171
maxTokens?
optional
maxTokens:number
Source
packages/core/src/llm/openai.ts:166
model
model:
string
Source
packages/core/src/llm/openai.ts:163
session
session:
OpenAISession
Source
packages/core/src/llm/openai.ts:173
temperature
temperature:
number
Source
packages/core/src/llm/openai.ts:164
timeout?
optional
timeout:number
Source
packages/core/src/llm/openai.ts:172