-
Notifications
You must be signed in to change notification settings - Fork 0
Chat Interface Using Datasets
You can give agents access to your documents during a conversation using the dataset selector. This allows agents to search your content and provide informed responses.
When you add datasets to a conversation:
- The agent can search those datasets for relevant information
- Context from your documents is included with your messages
- The agent uses this information to provide better answers
Datasets can be permanently attached to an agent in the agent's configuration settings. These datasets are automatically available in every conversation with that agent.
This is useful for:
- Standard reference materials an agent should always access
- Company documentation or policies
- Domain-specific knowledge bases
You can also add datasets to a specific conversation for temporary access:
- Click the Paperclip icon (to the left of the message input)
- A popover opens titled "Add Datasets to Conversation"
- Upload new files or select existing datasets
- The agent can now search these datasets during this conversation
Upload files directly to create a new dataset:
- In the popover, use the Upload files area
- Drag and drop files or click to browse
- A dataset is automatically created (named with a timestamp)
- Wait for processing to complete
- The dataset is automatically selected for the conversation
Auto-created datasets are marked with an amber "auto" badge so you can identify them later.
Important: Files are processed (text extracted, chunked, and embedded) before they become available. This may take a few moments depending on file size.
Use datasets you've already created:
- In the popover, browse the list of your available datasets
- Check the box next to each dataset you want to include
- Selected datasets are immediately available to the agent
To remove a dataset from the conversation:
- Open the dataset selector (click the Paperclip icon)
- Uncheck the dataset you want to remove
- The agent will no longer reference that dataset
When uploading files, the following formats are supported:
| Type | Extensions |
|---|---|
| Documents | PDF, DOCX, TXT, MD |
| Data | CSV, JSON |
Maximum file size: 50MB per file
Not supported: Images, videos, audio files, RTF, XML, HTML, Excel (.xlsx)
Tip: Convert Excel files to CSV before uploading for best results.
Tell the agent what you want from your documents:
- "Summarize the key findings from the attached report"
- "What does the policy say about vacation time?"
- "Find all mentions of [topic] in these documents"
Smaller, focused datasets often work better than large ones. If you have a lot of documents, organize them into separate datasets by topic.
Files need to be fully processed before the agent can search them. If you just uploaded a file and don't get relevant results, wait a moment and try again.
Datasets work best when combined with an agent's built-in capabilities. Use datasets for your specific content, and let the agent provide general knowledge.
If the agent isn't finding content from your datasets:
- Verify the dataset is selected (check mark visible)
- Confirm the document was fully processed
- Try more specific queries
- Check that the content exists in text form (images within PDFs aren't searchable)
If file uploads fail:
- Check the file is under 50MB
- Verify it's a supported file type (PDF, DOCX, TXT, MD, CSV, JSON)
- Try a different file format
- Refresh the page and try again
Large files take longer to process. You can continue the conversation while files process - they'll become available once complete.