Preparing search index...
The search index is not available
LangChain.js - v0.2.0-rc.1
LangChain.js
langchain-openai
ChatOpenAICallOptions
Interface ChatOpenAICallOptions
interface
ChatOpenAICallOptions
{
options
?:
OpenAICoreRequestOptions
<
Record
<
string
,
unknown
>
>
;
promptIndex
?:
number
;
response_format
?:
{
type
:
"json_object"
;
}
;
seed
?:
number
;
tool_choice
?:
"auto"
|
"none"
|
ChatCompletionNamedToolChoice
;
tools
?:
StructuredToolInterface
<
ZodObject
<
any
,
any
,
any
,
any
,
{}
>
>
[]
|
ChatCompletionTool
[]
;
}
Hierarchy (
view full
)
OpenAICallOptions
BaseFunctionCallOptions
ChatOpenAICallOptions
Index
Properties
options?
prompt
Index?
response_
format?
seed?
tool_
choice?
tools?
Properties
Optional
options
options
?:
OpenAICoreRequestOptions
<
Record
<
string
,
unknown
>
>
Additional options to pass to the underlying axios request.
Optional
prompt
Index
prompt
Index
?:
number
Optional
response_
format
response_
format
?:
{
type
:
"json_object"
;
}
Type declaration
type
:
"json_object"
Optional
seed
seed
?:
number
Optional
tool_
choice
tool_
choice
?:
"auto"
|
"none"
|
ChatCompletionNamedToolChoice
Optional
tools
tools
?:
StructuredToolInterface
<
ZodObject
<
any
,
any
,
any
,
any
,
{}
>
>
[]
|
ChatCompletionTool
[]
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
options
prompt
Index
response_
format
seed
tool_
choice
tools
LangChain.js - v0.2.0-rc.1
langchain-anthropic
langchain-azure-openai
langchain-cloudflare
langchain-cohere
langchain-community
agents/toolkits
aws_sfn
base
connery
caches
cloudflare_kv
ioredis
momento
upstash_redis
callbacks/handlers
llmonitor
lunary
chains/graph_qa/cypher
chat_models
alibaba_tongyi
baiduwenxin
Loading...
Generated using
TypeDoc
Additional options to pass to the underlying axios request.