From this article you'll know:
- what's topic in Copilot Studio
- how to use it, depending on your needs,
- what to avoid regarding topics.
Topic in the context of Copilot Studio is the main building block of a chatbot. It enables you to extend the capabilities of your bot by giving it new ways to interact with the end-user. How to use it effectively? Let me try to answer this question.
Old vs. new
- classic approach,
- generative orchestration approach.
I won't cover pros and cons of each one - you can find it here - but all in all I think for now it's best to stick to the classic one. It has it's advantages like stable outcome, reliable technology and testing capabilities.
Classic topic
- trigger phrases: you write "apple" - it invokes the topic. Simple and easy. It can also understand synonyms, so the key is to use the trigger phrases that you expect the user to write.
- invoking from another topic: you can modularize the chatbot, so that each topic can act as a separate "function", instead of building a monolith.
Thanks to that, your chatbot can we quite flexible in terms of functions that it can perform.
Regarding types of classic topics, we can define two:
- system topic,
- custom topic.
- we can alter the "Conversation Start" topic, so that the chatbot sends a different message, when you open it,
- we can modify "End of Conversation" topic, so that it resets all our global variables values,
etc.
Regarding custom topics, to put it bluntly, it's just a building block that you can freely define as you wish.
How to use topics effectively?
Summary
I hope that you like the approach that I've proposed above. I think that it'll be a lot easier to develop, debug and monitor chatbots if we'll use this way of development. Any questions, doubts or maybe you have a different opinion? Share it in the comments section!
Artur Stepniak