Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 5/D2CxMX8entv6gfwh2Vzs
Copilot Studio - Topic Creation & Management
Answered

Custom Topic and Conversational Plugin not working in Microsoft Copilot Studio

Like (1) ShareShare
ReportReport
Posted on 16 Jan 2024 17:48:20 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?

  • DougM_Barhead Profile Picture
    25 on 24 Jan 2024 at 21:41:59
    Re: Custom Topic and Conversational Plugin not working in Microsoft Copilot Studio

    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.

     
  • Verified answer
    HenryJammes Profile Picture
    on 24 Jan 2024 at 18:48:18
    Re: Custom Topic and Conversational Plugin not working in Microsoft Copilot Studio

    @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 24 Jan 2024 at 04:27:55
    Re: Custom Topic and Conversational Plugin not working in Microsoft Copilot Studio

    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

  • mayasol Profile Picture
    27 on 22 Jan 2024 at 11:16:02
    Re: Custom Topic and Conversational Plugin not working in Microsoft Copilot Studio

    Hi @nesrivastava 

    any update on this issue? Thanks

  • mayasol Profile Picture
    27 on 18 Jan 2024 at 18:44:45
    Re: Custom Topic and Conversational Plugin not working in Microsoft Copilot Studio

    @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 18 Jan 2024 at 18:43:41
    Re: Custom Topic and Conversational Plugin not working in Microsoft Copilot Studio

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

    biscuits1234_0-1705603408572.png

     

  • nesrivastava Profile Picture
    on 17 Jan 2024 at 17:47:25
    Re: Custom Topic and Conversational Plugin not working in Microsoft Copilot Studio

    @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 17 Jan 2024 at 06:44:34
    Re: Custom Topic and Conversational Plugin not working in Microsoft Copilot Studio

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

  • nesrivastava Profile Picture
    on 17 Jan 2024 at 04:23:49
    Re: Custom Topic and Conversational Plugin not working in Microsoft Copilot Studio

    Hi @biscuits1234 ,

     

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

     

    nesrivastava_0-1705464968920.png

     

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - Topic Creation & Management

#1
Arild Aarnes Profile Picture

Arild Aarnes 4

#2
stampcoin Profile Picture

stampcoin 2

#2
Ekta Gupta Profile Picture

Ekta Gupta 2

Overall leaderboard

Featured topics