DEV Community

Shantha Kumar T
Shantha Kumar T

Posted on

Two ways to trigger Topics in Copilot Studio

Introduction

Topics is a reusable conversational unit that can be called or access across different times, whenever user triggered by asking some questions or transferred from other Topics. Here, we are going to see how to trigger the Topic by assigning some phrases in different ways.

What is Generative AI in Copilot Studio?

Generative AI is a new feature introduced in Copilot Studio that enables the agent to choose the best topic, actions and knowledge for the user queries or answers to the event queries.
By default, Classic orchestration is enabled for all Copilot Studio applications. Because Generative AI orchestration is still in preview state, even though we can use it. My recommendations would be try out the Generative AI feature and adding description to Topic instead of adding phrases.

Apply Generative AI feature:

  • Navigate to the Copilot Studio Agent.
  • In the top right next to the Publish button, click the Settings button.
  • 1) Select “Generative AI” from left navigation.
  • 2) Then select Generative (preview) option.
  • 3) Then click Save button to update the agent to use the Generative Ai orchestration feature.

Enable Generative AI

After enabling this, the topics can be triggered based on the topic name, description.
But if we use Classic, the topics can be triggered based on the phrases.

As an example, we can create a topic to return the flight status information based on basic flight information.

Classic Orchestration:

Trigger Phrases are needed to call the Topic actions to run during the conversation. Phrases can be added to the Topic in below steps,

  • Navigate to the topic in Copilot Studio Agent.
  • Click Edit under Phrases in Trigger action.
  • Add the words or sentences under the Add Phrases section in Phrases panel.
  • Then click the Save button to update the changes to the application.

Adding phrases to Classic Trigger option in Topic

Generative AI Orchestration:

Triggering topics usually happens based on the Topic name and description provided for the Topic. Follow the below steps to add the description,

  • Navigate to the Topic or create a new Topic.
  • Name the topic as Flight Status Topic
  • In the Trigger action, click on the description box under Describe what the topic does.
  • Enter the information below “This topic provides information about the status of the Flight based on flight number. It can answer questions such as, what is the status of Flight?“.
  • Then click the Save button on top.

Add description to trigger topic using Generative AI

Conclusion:

In either case, if you typed “Flight Status” or “Can you tell me what’s the status of the flight?” triggers the same topic. Check out my original article here.

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay