v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
@langchain/openai
OpenAIClient
Beta
Threads
ThreadCreateAndRunParams
ThreadCreateAndRunParamsNonStreaming
Type Alias ThreadCreateAndRunParamsNonStreaming
Thread
Create
And
Run
Params
Non
Streaming
:
{
assistant_id
:
string
;
instructions
:
undefined
|
null
|
string
;
max_completion_tokens
:
undefined
|
null
|
number
;
max_prompt_tokens
:
undefined
|
null
|
number
;
metadata
:
unknown
;
model
:
|
undefined
|
null
|
string
&
{}
|
ChatModel
;
parallel_tool_calls
:
undefined
|
boolean
;
response_format
:
undefined
|
null
|
AssistantResponseFormatOption
;
stream
:
undefined
|
null
|
false
;
temperature
:
undefined
|
null
|
number
;
thread
:
undefined
|
OpenAIClient
.
Beta
.
Threads
.
ThreadCreateAndRunParams
.
Thread
;
tool_choice
:
undefined
|
null
|
AssistantToolChoiceOption
;
tool_resources
:
undefined
|
null
|
OpenAIClient
.
Beta
.
Threads
.
ThreadCreateAndRunParams
.
ToolResources
;
tools
:
undefined
|
null
|
(
CodeInterpreterTool
|
FileSearchTool
|
FunctionTool
)
[]
;
top_p
:
undefined
|
null
|
number
;
truncation_strategy
:
undefined
|
null
|
OpenAIClient
.
Beta
.
Threads
.
ThreadCreateAndRunParams
.
TruncationStrategy
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LangChain.js
Loading...