Upload a file to an assistant
This page shows you how to upload files to your assistant.
Upload a local file
To upload a file to your assistant from your local device, use the create_file
operation as in the following example.
It may take several minutes for your assistant to process your file. You can check the status of your file to determine if it is ready to use.
You can upload a file to an assistant using the Pinecone console. Select the assistant you want to upload to and add the file in the Assistant playground.
Upload with metadata
You can upload a file with metadata. Metadata is a dictionary of key-value pairs that you can use to store additional information about the file. For example, you can use metadata to store the file’s name, document type, publish date, or any other relevant information.
When a file is uploaded with metadata, you can use the metadata to filter a list of files and filter chat responses.
Limitations
File upload limitations depend on the plan you are using. For more information, see Understanding Pinecone Assistant.
Was this page helpful?