Upload files to create a knowledge base for agents in Copilot Studio.
You can upload individual documents to use as agent-level knowledge sources, which your agent will then use to generate responses using Generative AI.
Note :
- You can upload files to SharePoint and OneDrive using the option to add unstructured data as a knowledge source.
- When you upload documents using this method, the documents will be available to your agent at all levels. However, you can upload documents within Generative Answers nodes. This alternative option gives you more control to specify individual Generative Answers nodes that should not use uploaded documents.
- You can upload files to groups using the File groups option.
- Copilot Studio agents require Dataverse searching to utilize this knowledge source. If you are unable to add Dataverse files to the agent, ask your administrator to enable Dataverse searching in your environment.
When a user asks a question and the agent doesn't have a predefined topic to use, the agent will generate an answer from the documents you've uploaded. The system uses Generative AI to answer the user's question and provide a conversational-style response.
Uploaded documents are securely stored in the Dataverse. The number of documents you can upload is limited by the file storage capacity available for your Dataverse environment.
To upload individual files as knowledge sources, follow these steps:
- Open agent.
- Select Add knowledge from the Overview or Knowledge page , or from the Properties of the Generative Answers node.
- Upload files by dragging and dropping or browsing to the file location.
- Add a name. By default, the filename will be used.
- Add a description. The description should be detailed, especially if Generative AI is enabled, as it helps coordinate the generation process.
- Select Add to agent to complete adding the knowledge source.
Supported document types
- Word (doc, docx)
- Excel (xls, xlsx)
- PowerPoint (ppt, pptx)
- PDF (pdf)
- Text files (.txt, .md, .log)
- HTML (html, htm)
- CSV (csv)
- XML
- OpenDocument (odt, ods, odp)
- EPUB (epub)
- Rich Text Format (rtf)
- Apple iWork (pages, keys, numbers)
- JSON (json)
- YAML (yml, yaml)
- LaTeX (tex)
Supports images with captions.
Images with embedded captions in PDF files are also supported. Captions, also known as alt-text, are textual descriptions of images. For best results, provide detailed information about the embedded image in the alt-text.
Users can ask questions and receive answers based on information contained in annotated images. For example, the image embedded in the PDF file below provides information about the sales funnel and the stages of the sales process. Users of the agent containing this embedded image as a knowledge source can ask questions such as: "What are the stages in the sales funnel?" The agent can then answer based on the information in the annotated image.
Important note :
- Images, videos, executable files, and audio files cannot be used as uploaded materials.
- Images are only supported when they are embedded within a PDF file.
- Embedded images are supported in all languages.
- Icons are not supported.
- Files larger than 512 MB are not supported.
- Encrypted files, such as those with security labels or password protection, are not supported.
- An agent can include up to 500 files as a knowledge source.
- Overview of AI-based agent creation
- Add public websites as knowledge sources for agents in Copilot Studio.
- Overview of Copilot Studio
- Add SharePoint as a knowledge source for agents in Copilot Studio.
- Evaluating agent performance in Microsoft Copilot Studio
- Upgrade to Copilot Studio Unified Authoring
- Add Dataverse tables as agent knowledge sources in Copilot Studio.
- Should you choose Microsoft 365 Copilot or Copilot Studio to build your agent?