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
Thread
Message
Attachment
Interface Attachment
interface
Attachment
{
file_id
?:
string
;
tools
?:
(
CodeInterpreterTool
|
OpenAIClient
.
Beta
.
Threads
.
ThreadCreateAndRunParams
.
Thread
.
Message
.
Attachment
.
FileSearch
)
[]
;
}
Index
Properties
file_
id?
tools?
Properties
Optional
file_
id
file_
id
?:
string
The ID of the file to attach to the message.
Optional
tools
tools
?:
(
CodeInterpreterTool
|
OpenAIClient
.
Beta
.
Threads
.
ThreadCreateAndRunParams
.
Thread
.
Message
.
Attachment
.
FileSearch
)
[]
The tools to add this file to.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
file_
id
tools
LangChain.js
Loading...
The ID of the file to attach to the message.