DialogflowCX - "$request.generative.response" in some outputs

I have been getting $request.generative.response out occasionally in my agent responses whenever I was using generators to create the agent response.

Could someone please tell me the reason for this? BIG help!!

Thank you.

@xavidop

Hi,

was the generator triggered in all the cases?

Best

Hello,

I think Generators are always triggered in page. They each produce an output parameter that you name whatever you want

as $request.generative.whateveruwant. Then you can use them in Agent says like The result is: $request.generative.whateveruwant

  1. You can check if you are using the correct parameter name

  2. Change it to see if you get the same result

  3. In the agent test, the answer is marked “Contain AI generated text”, if not i think it come from elswhere

  4. look at the Original Response available in agent test, you will see the details

Sincerely

Hii,

No, the page before it was a normal Agent response.

Kind regards

Hi,

Thank you for the reply. Yes I have named it as $request.generative.asking_contact.
I will try changing the name.

Kind regards,