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 / Custom Topic and Conve...
Copilot Studio
Answered

Custom Topic and Conversational Plugin not working in Microsoft Copilot Studio

(1) ShareShare
ReportReport
Posted on by 27

I've created two Copilots 1 and 2. Only 2 is tied to a web page for data source. I've created a custom topic and a conversational plugin for both copilots. In the topic/plugin, I've added a Generative answers node after the trigger phrase node. In the generative answers node, I do not add any data source but instead add my context prompt inside the properties section of the node under the custom instructions section. Also, in the node, I mark the input as Activity.Text

I've tested this topic/plugin in both copilots but after providing the input to copilot, it does not reply back with anything and when I look at the flow of the topic/plugin, it is marked as completed.

Additional context, in my chat with copilot - I provide it details of a random project and in the context prompt, that I already provided, I ask the copilot to extract the facts from my message and reply back in a professional style.

Can anyone please guide me and help me troubleshoot this problem?

I have the same question (0)
  • nesrivastava Profile Picture
    on at

    Hi @biscuits1234 ,

     

    make sure you have "Send a message" enabled. Let me know if this is not the problem. 

     

    nesrivastava_0-1705464968920.png

     

     

  • mayasol Profile Picture
    27 on at

    Hi @nesrivastava thank you for reply - I have "Send a message" enabled for both copilots

  • nesrivastava Profile Picture
    on at

    @biscuits1234 

    Could you kindly share a screenshot of your scenario? Additionally, providing the YAML would be helpful for me to reproduce the scenario on my end

  • mayasol Profile Picture
    27 on at

    @nesrivastava thank you for following up on this. here is the screenshot

    biscuits1234_0-1705603408572.png

     

  • mayasol Profile Picture
    27 on at

    @nesrivastava here is the yaml 

     

    kind: AdaptiveDialog
    beginDialog:
     kind: OnRecognizedIntent
     id: main
     intent:
     triggerQueries:
     - details about guitar improvement project
    
     actions:
     - kind: SendActivity
     id: sendActivity_XzHpM1
     activity: Sure, what are the facts about the guitar improvement project?
    
     - kind: SearchAndSummarizeContent
     id: searchAndSummarizeContent_QO5jel
     userInput: =System.Activity.Text
     variable: Topic.TestBotResponse
     additionalInstructions: |-
     As a guitar expert, you will be tasked with creating a project documentation of 800-1000 words for project ABC, which is about the Stratocaster guitar. The documentation should be written in an objective and professional manner, without the use of section headers. You will be provided with a set of {{System.Activity.Text}} facts, which may include instructions enclosed in square brackets ([]). These instructions should be incorporated into the write-up. If you come across an instruction that you do not understand, you may ignore it. An example of facts and narrative will be provided for your reference. In the absence of any actual facts, please respond with the statement "No project facts were provided." Please refrain from quoting sentences from this prompt.
     
     ## Example Facts
     - Project ABC aims to improve the sound quality of the Stratocaster guitar by incorporating new materials in its construction.
     - The project team is collaborating with renowned guitarists to gather feedback and insights on the playability of the Stratocaster guitar.
     - Project ABC is exploring the use of advanced manufacturing techniques to produce Stratocaster guitars with greater consistency and precision.
     
     ## Example Narrative
     
     Project ABC aims to improve the sound quality of the Stratocaster guitar by incorporating new materials and collaborating with renowned guitarists for feedback. The project is also exploring advanced manufacturing techniques for greater consistency and precision in production. As a guitar expert, professional, luthier, or acoustic engineer, your expertise will be invaluable in helping to create an exceptional instrument.
     publicDataSource: {}
     sharePointSearchDataSource: {}
     customDataSource: {}

     

  • mayasol Profile Picture
    27 on at

    Hi @nesrivastava 

    any update on this issue? Thanks

  • DougM_Barhead Profile Picture
    25 on at

    I have a very similar issue. I've setup a custom prompt for "Create Generative Answers" which sometimes works when responding to a number of set test phrases, and other times the topic doesn't trigger at all and just drops through to the Fallback topic

  • Verified answer
    HenryJammes Profile Picture
    on at

    @biscuits1234@DougM_Barhead this is by design. Generative answers only work when a data source is configured, because the generated answer needs to grounded in the input content the data source will return.

     

    If you're looking for open, ungrounded, queries to large language model, then you should consider these alternatives:

    • Invoke your own LLM through an HTTP request or Power Automate cloud flow.
    • Try to use the Custom Prompt AI Builder feature and invoke it as a plugin action.
    • Invoke the AI Builder 'Create text with GPT' through a Power Automate cloud flow.
  • DougM_Barhead Profile Picture
    25 on at

    thanks @HenryJammes - that's the confusing part. I'm using our company website as the data source. Configured under the main "Generative AI" menu, which I can see is the same as the configuration for the "Create Generative Answers" action. I've given the action a complex prompt which includes background and context for the task and constraints around the output, e.g. "Keep your answer brief and limit the number of references to three (3) or less." . Sometimes this works for a given input, other times it doesn't and drops through to fallback topic.

     

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 270 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard