Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
You can upload your own files at the topic level to use with generative answers nodes. The files are used across your agent, but you can specify individual nodes that shouldn't use uploaded files.
Important
Knowledge sources defined in generative answers nodes take priority over knowledge sources at the agent level. Agent level sources function as a fallback. For more information on how to upload files as knowledge sources at the agent level, see Upload files as a knowledge source.
When an agent user asks a question, and the agent doesn't have a defined topic to use, the agent generates an answer from your uploaded files. The agent uses generative AI to answer the user's question and provides an answer in a conversational style.
Uploaded files are stored securely in Dataverse. The number of files you can upload is limited by the available file storage for your Dataverse environment.
Note
Generative answers can process uploaded files that are up to 512 MB in size.
Image, audio, video, and executable files aren't supported. See Supported file types at the end of this article for a full list.
Prerequisites
- One or more supported file types, each of which can be up to 512 MB.
Uploading a file
Warning
Contents of the files you upload are available to all users.
Uploaded file content is available to anyone chatting with the agent, regardless of file permissions or access controls.
To upload a file as a knowledge source in a generative answers node, perform the following steps:
Open the agent.
Select Topics.
Select the topic with the generative answers node you want to add files to or Add a topic.
In the Create generative answers node for the topic, select the More icon (…) of the node, and then select Properties. The Create generative answers properties pane appears.
Note
For information on how to add a generative answers node itself, see Add a generative answers node.
Under Knowledge sources, select Add knowledge. Ensure that Search only selected sources is turned on.
Upload the file by either drag and drop, or browsing to the file ___location.
Select Add to agent to finish adding the knowledge source.
Note
To upload files, ensure that File uploads is turned on in the Settings page for your agent. For more information, see Turn on file uploads.
After uploading your files
Once uploaded, your content in the file might take a few minutes to be ready for use by the agent. When the file is ready, the status of the file changes from In progress to Ready.
Uploaded files create new copies and don't overwrite existing files, even if they have the same name.
The uploaded file becomes part of the agent solution, therefore exporting and importing an agent solution includes the files.
Deleting a file
To delete a file as a knowledge source in a generative answers node, perform the following steps:
Open the Knowledge page for an agent.
Locate the file you want to delete and select More options (...) then select Delete.
Confirm you want to delete the file by selecting Delete.
Warning
Deleting a knowledge source is permanent and cannot be undone.
Download a file
To download a file as a knowledge source in a generative answers node, perform the following steps:
Open the Knowledge page for an agent.
Locate the file you want to download and select More options (...) then select Download.
Disable files as a data source for a generative answers node
Files used as a data source for the agent are used as a data source by default for all generative answers nodes.
To exclude a specific generative answers node from using files as a data source:
Open the topic with the generative answers node you want to exclude.
On the top menu bar, select More options > Open code editor.
Insert the following lines of code immediately after the line
variable: Topic.Answer:fileSearchDataSource: searchFilesMode: kind: DoNotSearchFilesSelect Save at the top of the page.
Supported file types
- Word (doc, docx)
- Excel (xls, xlsx)
- PowerPoint (ppt, pptx)
- PDF (pdf)
- Text (.txt, .md, .log)
- HTML (html, htm)
- CSV (csv)
- XML (xml)
- OpenDocument (odt, ods, odp)
- EPUB (epub)
- Rich Text Format (rtf)
- Apple iWork (pages, key, numbers)
- JSON (json)
- YAML (yml, yaml)
- LaTeX (tex)
Important
Image, audio, video, and executable files aren't supported. In addition, files with encryption, such as sensitivity labels or password protection, aren't supported.