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?
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.
@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:
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
any update on this issue? Thanks
@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: {}
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
Hi @nesrivastava thank you for reply - I have "Send a message" enabled for both copilots
Hi @biscuits1234 ,
make sure you have "Send a message" enabled. Let me know if this is not the problem.
Arild Aarnes
4
stampcoin
2
Ekta Gupta
2