Adding documents
Your agents can leverage your documents to retrieve specific information related to a user’s query and generate a relevant answer. To enable this functionality, you need to add your documents to a data source.
Data sources containing documents (files and folders) are managed in Build > Data sources > Documents. This page allows you to view your folders and documents, create folders, and add documents.
Creating a new folder
To create a new folder:
Click the Create folder button next to the search bar;
Give a name to your folder;
Click Create.
Uploading a document
You can upload files by clicking the Upload document button next to the Create folder button.
Click the Select files button;
Choose the file(s) to add and click Open;
Switch on the Overwrite existing files button if you want to replace the existing files with new ones;
Click Upload to add the documents.
Once your documents are uploaded and ready, you can add them to your agents.
The types of documents you can add are the following:
Microsoft Office files (.doc, .docx, .xls, .xlsx, .ppt, .pptx,) and OpenDocument files (.odt, .odp, .ods)
Images (.png, .jpg, .jpeg, .gif)
PDF files (.pdf)
Text files (txt, .htm, and .HTML)
Other types of files (.csv, .tsv)
Video tutorial: How to add documents
What’s next?
Now that the documents have been added, you can select them when creating an agent.
Find more information about how to create an agent by reading this page: Build your own agent.