Dialogflow parameters naming

Hi All

I just started using Dialogflow CX.

I have been following some tutorials online to help me understand better.

For example, I was doing a tutorial which summarizes the answer into a short and concise sentence (instead of a long answer).

This is my parameter preset input in the data store:

and then I created a new page, “Sum”.

This is from the log, when testing an agent:

sushimaatte_2-1711379225316.png

What is the connection between the parameter preset “response” from my data store and “$session.params.response”?

Does “$session.params.response” refer to the parameter preset “response” = (“$request.knowledge.answers[0]”)?

As I understand it, my generator is summarizing “$request.knowledge.answers[0]” according to the text prompt it was given.

Another question:

How can I find the names of parameters?

I don’t understand what these refer to, and I couldn’t find anything that helps me:

Examples:

  • $session.params.something

  • $request.knowledge.something

I hope you understand my question.

Best

For parameters I believe you are looking for this documentation:

https://cloud.google.com/dialogflow/vertex/docs/concept/data-store-agent#customize-summarization-prompt

The placeholders are as follows:> > - $original-query: The user’s query text.> - $rewritten-query: Dialogflow uses a rewriter module to rewrite the original user query into a more accurate format.> - $sources: Dialogflow uses Enterprise Search to search for sources based on the user’s query. The found sources are rendered in a specific format:> > - $conversation: The conversation history is rendered in the following format:

1 Like