I require the response from Dialogflow CX to include both information and a link or URL relevant to the query, regardless of whether I explicitly request the URL. Currently, the issue I encounter is that the response does not contain a URL unless I specifically ask for it in the question. I aim for the URL to be included in the response automatically, utilizing the Dialogflow search feature to retrieve relevant information from the datastore.
Requesting your guidance @xavidop and @harlanh
Thanks in advance
Solved! Go to Solution.
Hi,
You will have to use a data store and a data store handler to do that and specify the link minimum to 1:
Best,
Xavi
Yes, and to extend Xavi's answer, the text response will not have the URL by default. The response object is designed for the Dialogflow web UI widget. You can either extract the URL from the response object manually, and append it, or there's a tricky way to use an LLM Generator to rewrite the response, including the URL, which works most of the time (but not all of the time, in my experience).
Hi,
You will have to use a data store and a data store handler to do that and specify the link minimum to 1:
Best,
Xavi
Yes, and to extend Xavi's answer, the text response will not have the URL by default. The response object is designed for the Dialogflow web UI widget. You can either extract the URL from the response object manually, and append it, or there's a tricky way to use an LLM Generator to rewrite the response, including the URL, which works most of the time (but not all of the time, in my experience).
yeah! good addition!
I've included the URL, but it doesn't appear in the response. When you refer to using the LLM Generator, I assume you're talking about utilizing the generator in the Datastore. Could you please provide the format for the text prompt for my use case?
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |