v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
@langchain/openai
OpenAIClient
Beta
Threads
Runs
RunCreateParams
AdditionalMessage
Attachment
Interface Attachment
interface
Attachment
{
file_id
?:
string
;
tools
?:
(
CodeInterpreterTool
|
OpenAIClient
.
Beta
.
Threads
.
Runs
.
RunCreateParams
.
AdditionalMessage
.
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
.
Runs
.
RunCreateParams
.
AdditionalMessage
.
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.