v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
@langchain/openai
OpenAIClient
Chat
Completions
ChatCompletionCreateParams
ChatCompletionCreateParamsStreaming
Type Alias ChatCompletionCreateParamsStreaming
Chat
Completion
Create
Params
Streaming
:
{
frequency_penalty
:
undefined
|
null
|
number
;
function_call
:
|
undefined
|
"none"
|
"auto"
|
ChatCompletionFunctionCallOption
;
functions
:
undefined
|
OpenAIClient
.
Chat
.
Completions
.
ChatCompletionCreateParams
.
Function
[]
;
logit_bias
:
undefined
|
null
|
Record
<
string
,
number
>
;
logprobs
:
undefined
|
null
|
boolean
;
max_tokens
:
undefined
|
null
|
number
;
messages
:
ChatCompletionMessageParam
[]
;
model
:
string
&
{}
|
ChatModel
;
n
:
undefined
|
null
|
number
;
parallel_tool_calls
:
undefined
|
boolean
;
presence_penalty
:
undefined
|
null
|
number
;
response_format
:
|
undefined
|
ResponseFormatJSONSchema
|
ResponseFormatText
|
ResponseFormatJSONObject
;
seed
:
undefined
|
null
|
number
;
service_tier
:
|
undefined
|
null
|
"default"
|
"auto"
;
stop
:
|
undefined
|
null
|
string
|
string
[]
;
stream
:
true
;
stream_options
:
undefined
|
null
|
ChatCompletionStreamOptions
;
temperature
:
undefined
|
null
|
number
;
tool_choice
:
undefined
|
ChatCompletionToolChoiceOption
;
tools
:
undefined
|
ChatCompletionTool
[]
;
top_logprobs
:
undefined
|
null
|
number
;
top_p
:
undefined
|
null
|
number
;
user
:
undefined
|
string
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LangChain.js
Loading...