Essentials
This critical category includes the Code Interpreter and File Search. Most tools rely on the Code Interpreter for their functionality, while readable documents in the knowledge base require both File
Code Interpreter
The agent handles complex tasks like data analysis, graph creation, and supports essential tool operations.
input
The text instruction or task provided by the user
Text
files
Files uploaded by the user (e.g., CSV, JSON, Excel)
File[]
python_code
Python code generated by the model
Code
stdout
Output printed to the terminal after code execution
Text
result_files
Output files generated by the code (e.g., CSV, JSON, images)
File
visualizations
Visual content created by the code (e.g., plots, charts)
Image
errors
Any error messages resulting from code execution
Text
execution_logs
Logs describing the steps and flow of the code execution
Text[]
File Search
Reads the file and provides answers related to it.
file_id
The unique ID of the uploaded file
Text
filename
The name of the uploaded file
Text
created_at
When the file was uploaded (timestamp)
Date
bytes
Size of the file in bytes
Number
purpose
Why the file was uploaded (e.g. "assistants")
Text
status
Processing status of the file (e.g. "processed", "uploaded")
Text
status_details
Extra detail about the status (optional)
Text
chunk_ids
List of IDs representing file's embedded chunks
Array
vector_store_id
The ID of the vector store the file is associated with (if applicable)
Text
metadata
Custom metadata you optionally attached during upload
Object
Last updated
Was this helpful?