web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Intelligent Copilot wi...
Copilot Studio
Unanswered

Intelligent Copilot with Generative Answers, knowledge and LLM Orchestration

(5) ShareShare
ReportReport
Posted on by 25
Hello everyone.
 
I am trying to build a Copilot that would be able to:
  • Understand the user's question or query in a way a LLM can (such as ChatGPT)
  • Decide on which topic to select, based on the user's query and natural language understanding
  • Answer with the Generative Answers feature, based on a certain restricted set of documents
  • AND it should be able to understand one or more follow-up questions, remaining in the current topic, until it understands that the user is not talking about the current topic anymore
For this, I have been using both Generative Answers on uploaded knowledge (SharePoint and uploaded files), and LLM Orcherstration, where a trigger is not defined by phrases, but by a description of when a certain topic should be triggered.
 
For example:
I have 2 documents: one that has information about a company's work-from-home policy, and another that has information about expenses and reimbursements for specific clients (X and Y)
Therefore I create a topic for work-from-home (containing the first document), and another topic for expenses and reimbursements (containing the second document). I write a good description for when each topic should be triggered. Each one uses generative answers to answer, but based on a different document.
Here's how it should work:
  • The user asks a question: "How do I get reimbursed for my 3 day trip to see client X?"
  • The Copilot understand the question is related to topic expenses and reimbursements, goes inside there, scans the knowledge, and answers the question.
  • The user then asks "What about client Y for the same duration?"
  • The Copilot, following the flow of the conversation, also understands that this question is related to topic expenses and reimbursements. Following the previous question, it scans the same knowledge and answers the question.
  • The user now asks "I need to work from home 5 days this month, is that ok?"
  • The Copilot now understand the question is related to topic work-from-home, therefore goes in that topic and answers accordingly
However, for the second question "What about client Y for the same duration?", the Copilot will not be able to classify this into either topic because it doesn't explicitly mention either topic, but acts as a follow up question to another. The best way would be to pass the whole chat into the copilot so it has context and understanding of the discussion, much like ChatGPT does, for example. 
 
Please keep in mind that this is a simple example and the Copilot I'm trying to build is much more complex than that.
 
The classic way I've seen people use Generative Answers with knowledge, is by using the "On unknown Intent" trigger, and just gather all the knowledge together in that one node. In this case, the second question would also go into the "on unknown intent topic".
The main problem with this is that the Copilot will frequently hallucinate and answer differently, often pulling knowledge from the bad document on an answer that was quite straightforward. For example, in this example, there was a document called "work-from-home policy" in which it was specified that employees can work from home 50% of the time, but instead it pulled knowledge from another unrelated document about unpaid leave, and this was even with high content moderation !!
 


In short: is it possible to build this type of intelligent Copilot, that retains context, understands queries, and answers based on existing knowledge, today with Microsoft Copilot Studio? Or should I be looking at other options?
Categories:
I have the same question (0)
  • adilei Profile Picture
    on at
    I think you need to break this down into smaller questions first. Starting with the question of the quality of generated responses - which knowledge sources have you connected to?
  • Volker Leitzgen Profile Picture
    Microsoft Employee on at
    My first thought about this is to use only the internal graph and no external....Have you also thought about using Azure AI, if it is getting more complex?
  • nikitas_novatix Profile Picture
    25 on at
    @adilei Actually, I already have ... I started with a simple SharePoint site as knowledge source, with about 10 short (1-2 pages) pdf files inside. Even with just that one knowledge source, and a simple question, as shown in my original post screenshot, the answer is not correct. 

    It seems to pull the information a bit randomly from one of the documents and then generate a response based on that random information that was pulled. For example, I ask a question about work-from-home policy, and it answers based on leave policy.

    @Volker_Leitzgen what do you mean only internal and no external? I haven't though about Azure AI for now, how would I use that to solve this problem ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 251 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 201 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard