Generative Answers

Completed

With Microsoft Copilot Studio's generative answers feature, your agent can retrieve and present information from various internal or external sources without the need for creating specific topics. These answers can serve as the primary source of information for your agent or as a fallback when pre-authored topics can't address a user's inquiry. This allows for the quick creation and deployment of a functional agent without the need for manually authoring multiple topics that might not meet your customer's needs.

What is especially important, and why this is being introduced before anything else, is to help makers start considering what data sources are available, which could be used to summarize answers to possible customer or employee questions. Depending on those data sources and if you can utilize them within Copilot Studio could mean that based on your use case, you might be able to focus on a smaller set of topics to author using the authoring canvas and deliver value to your customers or employees quicker.

In this unit, you'll add knowledge to an agent.

Add knowledge to an agent

Enable Generative answers

  1. With your agent open in Microsoft Copilot Studio, select the Overview tab.

  2. Below Details in the Knowledge section of the Overview page, ensure the Allow the AI to use its own general knowledge is Enabled, as shown.

    Screenshot of the toggle to allow the AI to use its own general knowledge.

Add a public website to knowledge

  1. Select the Knowledge tab then select + Add knowledge. This display the list of knowledge sources.

    Screenshot of the websites text box.

  2. Select the Public websites tile.

  3. Enter https://learn.microsoft.com/en-us/microsoft-copilot-studio/ in the Public website link field.

    Screenshot of the websites add text box.

  4. Select Add.

  5. Select Add.

  6. Select the Topics tab and select All.

    Screenshot of the topics list.

    Tip

    Any topics that begin with Lesson are examples of topics and can be turned off by selecting the enabled toggle.

  7. Select the Conversational boosting topic. The generative answers node is included.

    Screenshot of the Conversation booster topic.

  8. Now pay attention to the test panel in Microsoft Copilot Studio, which can be found in the right side of the screen, as shown below.

    Screenshot of the Microsoft Copilot Studio test panel.

  9. In the test panel, ask the question What's new in Copilot Studio?.

  10. You should get a generated response based from the data available on the Microsoft Learn documentation website with a link to page on Microsoft Learn. An example of a generated answer is in the screenshot below:

    Screenshot example of a generated answer.

  11. You can ask more questions in the test panel and monitor what type of response you get.

This unit covers the Generative Answers feature in Copilot Studio, which allows your agent to find and present information from multiple sources, internal or external, without having to manually author a topic. This functionality can be used as the primary behavior for your agent or as a fallback when authored topics are unable to address the user's question.

This fundamentally changes the way conversational experiences are created. This unit goes through considerations on what use cases you're considering from your business that could be addressed with an agent experience. Understanding the fundamentals of Generative Answers, you should begin to think about your data sources that hold key information, and if those could be useful within your agent.

For example, your workflow might now look like this:

  • You create an agent and enable the Generative Answers feature, then test it thoroughly

  • After testing, you publish your agent to provide instant answers, assistance, and guidance to your customers or agent users

  • You create individual topics for the most important or frequently asked questions from your customers, based on analytics from previous agents or existing support issues

This workflow might require some time and specialized knowledge, but with generative answers enabled, your agent is up and running from day one.

To learn more about this specific feature, see the Microsoft Documentation on Generative Answers:

In the next section, we'll go over how you can add a database file to your agent.

Add a knowledge document

When building an agent in Copilot Studio, you might need the agent to access non-public data. With the Knowledge function of Copilot Studio, you can provide this grounding data in various ways: by uploading files, connecting to SharePoint or OneDrive, adding Dataverse tables, and more.

Providing a knowledge document helps the agent understand and relate the data to user queries. In this section, we'll add a PDF file containing details of a workshop on Copilot Studio.

The knowledge file we'll be using is located here. Select the download icon top copy the file to your local machine.

  1. Start by navigating to the Knowledge tab of your agent's homepage.

  2. Select + Add knowledge.

  3. In the Add available knowledge sources window that opens, select the Files tile.

  4. In the Upload files window, select click to browse, then locate and select the provided Microsoft Copilot Studio - Workshop.pdf file and select Open.

    Screenshot of the Upload files page when adding a knowledge file.

  5. Select Add.

  6. After a few minutes, the file should appear as Ready in the Knowledge section of the agent's homepage.

  7. In the test panel, ask the question What are example use cases to build agents today?.

  8. You should get a generated response based from the contents of the file with a citation. An example of a generated answer is in the screenshot below:

    Screenshot example of a generated answer from a file.