Can anyone give me an example of this? This is a recent addition to Dialogflow
Solved! Go to Solution.
as it specifies in the docs:
$sources: Dialogflow uses Enterprise Search to search for sources based on the user's query. The found sources are rendered in a specific format:
[1] title of first source
content of first source
[2] title of second source
content of first source
On dialgoflow CX you specify a data store handler, so it will be all the data stores that you specify in that handler:
Hi, can you clarify what you are looking for?
thanks!
I am looking for some examples on what we can put in the text prompt field. I am a bit confused on what this prompt is for in Dialogflow. full pic below:
hi @speralta ,
That prompt is being used when dialogflow calls a data store. Once the data is retrieved to the data store, you can create your own prompt to summarize that data and choose the model you want. with that set, the LLM will generate a text and reply back to the user.
Here are the docs for that part: https://cloud.google.com/dialogflow/vertex/docs/concept/data-store-agent#data_store_model_selection_...
I saw the docs but I don't understand. Can you provide some example of a prompt?
An example of prompt could be:
A user asked: $original-query
Relevant information to the user's answer is: $sources
The conversation history with the user is: $conversation
Please reply to the user in a polite way.
Does $sources include all the datastores (websites, faqs, unstructured docs)?
as it specifies in the docs:
$sources: Dialogflow uses Enterprise Search to search for sources based on the user's query. The found sources are rendered in a specific format:
[1] title of first source
content of first source
[2] title of second source
content of first source
On dialgoflow CX you specify a data store handler, so it will be all the data stores that you specify in that handler:
Hey there, I am still confused by the example on this page when creating a custom summarization prompt: https://cloud.google.com/dialogflow/vertex/docs/concept/data-store-agent
I still don't understand what goes in the 'source' spot?
My current issue is that when I ask a question and the datastore answers it, its needs to be more specific and less general. I assume it would be editing this prompt that will determine the datastore response
Hi Ian,
the source is automatically populated and it is the link to the document in the data store that answers the user's question
User | Count |
---|---|
14 | |
1 | |
1 | |
1 | |
1 |