How to Upload Files for Private Assistants
Increase the capabilities and reach of your own assistants
Last updated
Was this helpful?
Increase the capabilities and reach of your own assistants
Last updated
Was this helpful?
When you create an assistant and set it to private, you gain the ability to upload files in two distinct sections: Code Interpreter and File Search. These files enhance the assistant’s ability to analyze, transform, and search for data when responding to user queries.
Code Interpreter
The Code Interpreter allows you to analyze and transform data directly within the chat. Uploaded files are processed by the assistant to perform operations, computations, or analyses based on their content. For example:
If you upload a Python script (.py
), the assistant can execute it or analyze its content to solve problems.
Supported File Types:
c, cpp, docx, html, java, json, md, pdf, php, pptx, py, rb, tex, txt, css, js, ts, csv, jpeg, jpg, gif, png, tar, xlsx, xml, zip
File Search
The File Search section allows the assistant to use your uploaded files as a knowledge base for answering questions in the chat. These files are indexed, enabling the assistant to retrieve relevant information or data to address your queries.
You can ask the assistant for specific keywords, columns, or data within the files, and it will provide the most relevant results. For example:
If you upload a PDF containing technical specifications, you can ask, “What is the voltage specification for the device?” and the assistant will search the document to provide the answer.
Supported File Types:
c, cpp, docx, html, java, json, md, pdf, php, pptx, py, rb, tex, txt, css, js, ts