v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.15
LangChain.js
langchain-openai
OpenAIClient
Chat
Completions
CompletionCreateParams
Type Alias CompletionCreateParams
Completion
Create
Params
:
{
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
|
boolean
;
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
;
}
Deprecated
Use ChatCompletionCreateParams instead
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LangChain.js - v0.2.15
Loading...
Deprecated
Use ChatCompletionCreateParams instead