v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.13
LangChain.js
langchain-openai
OpenAIClient
Chat
Completions
ChatCompletionCreateParams
ChatCompletionCreateParamsNonStreaming
Type Alias ChatCompletionCreateParamsNonStreaming
Chat
Completion
Create
Params
Non
Streaming
:
{
frequency_penalty
:
undefined
|
null
|
number
;
function_call
:
|
undefined
|
"auto"
|
"none"
|
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
|
ResponseFormatText
|
ResponseFormatJSONObject
|
ResponseFormatJSONSchema
;
seed
:
undefined
|
null
|
number
;
service_tier
:
|
undefined
|
null
|
"default"
|
"auto"
;
stop
:
|
undefined
|
null
|
string
|
string
[]
;
stream
:
undefined
|
null
|
false
;
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 - v0.2.13
Loading...