FunctionAndCustomToolCallOutputInputFileContent interface
A file input to the model.
- Extends
Properties
| filename | The name of the file to be sent to the model. |
| file_data | The content of the file to be sent to the model. |
| file_id | The ID of the file to be sent to the model. |
| file_url | The URL of the file to be sent to the model. |
| type | The type of the input item. Always |
Property Details
filename
The name of the file to be sent to the model.
filename?: string
Property Value
string
file_data
The content of the file to be sent to the model.
file_data?: string
Property Value
string
file_id
The ID of the file to be sent to the model.
file_id?: string
Property Value
string
file_url
The URL of the file to be sent to the model.
file_url?: string
Property Value
string
type
The type of the input item. Always input_file.
type: "input_file"
Property Value
"input_file"