Class: OpenAI
Extends
Extended by
Constructors
new OpenAI()
new OpenAI(
init
?):OpenAI
Parameters
• init?: Partial
<OpenAI
> & object
Returns
Overrides
Source
packages/core/src/llm/openai.ts:181
Properties
additionalChatOptions?
optional
additionalChatOptions:OpenAIAdditionalChatOptions
Source
packages/core/src/llm/openai.ts:169
additionalSessionOptions?
optional
additionalSessionOptions:Omit
<Partial
<ClientOptions
>,"apiKey"
|"timeout"
|"maxRetries"
>
Source
packages/core/src/llm/openai.ts:176
apiKey?
optional
apiKey:string
=undefined
Source
packages/core/src/llm/openai.ts:172
maxRetries
maxRetries:
number
Source
packages/core/src/llm/openai.ts:173
maxTokens?
optional
maxTokens:number
Source
packages/core/src/llm/openai.ts:168
model
model:
string
Source
packages/core/src/llm/openai.ts:165
session
session:
OpenAISession
Source
packages/core/src/llm/openai.ts:175
temperature
temperature:
number