v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.14
LangChain.js
langchain-openai
OpenAIClient
Beta
Threads
ThreadCreateAndRunParams
ThreadCreateAndRunParamsStreaming
Type Alias ThreadCreateAndRunParamsStreaming
Thread
Create
And
Run
Params
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
:
true
;
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 - v0.2.14
Loading...