Enhancing Your Copilot Studio Agent with Topics and Actions

Video URL = https://www.youtube.com/watch?v=O-nHz5Z3Avk

In this video, we explore how to extend the capabilities of your Copilot Studio agent by integrating external knowledge sources using topics and actions. Here’s a step-by-step guide based on the video content:

1. Creating the Agent:

  • Start by creating an agent as usual, providing a description and general instructions. Ensure the orchestration option is selected and enabled. 0:12

  • The initial knowledge source selected is a single site, which allows the agent to answer questions in a basic manner. 0:23

2. Improving Information Retrieval:

  • To enhance the agent’s responses, especially for current news, create an action using Brave search. 0:54

  • Set up a free Brave account and obtain the API key for Brave search. 1:08

  • Configure the action to use Brave search for web news queries. 1:18

3. Creating and Configuring Topics:

  • Add a new topic that triggers when users ask about news. 2:01

  • Describe the trigger conditions and steps for the topic. 2:13

  • Create a search query variable to feed into the Brave search action. 2:31

  • Ensure the variable captures the prompt and keywords from the user’s query. 3:09

4. Testing and Publishing:

  • Test the setup by asking the agent for the latest news on a specific topic, such as “Alpine” or “Ferrari”. 3:58

  • Verify that the topic triggers correctly and retrieves detailed news results via Brave search. 4:19

  • Publish the updated agent to make the enhancements live. 4:35

By following these steps, you can significantly improve the relevance and detail of the information your Copilot Studio agent provides, leveraging external knowledge sources effectively.

Thank you for watching the video!