Hello,
I have tried search and conversation chat and am doing it with Dialogflow. I have limited knowledge of Dialogflow and coding.
on the data stores > Agent responses, the default is: $request.knowledge.answers[0]
If I am interpreting this correctly, it will return the first answer based on $request.knowledge.answers? If I say put in $request.knowledge.answers[1], it will return the second best answer?
So if I want it to return 3 answers, would I then place something like this $request.knowledge.answers[0-2] ?
Solved! Go to Solution.
Abosultely,
summarizing with LLMs is a good practice. For that you will need to create a prompt in the generator like this:
"Please create a bullet point list with $answer1, $answer2 and $answer3 and compare them"
Then as a parameter in the generator in your flow you will need to assign the value to $answer1, $answer2 and $answer3 with $request.knowledge.answers[0] $request.knowledge.answers[1] $request.knowledge.answers[2]
Best,
Xavi
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |