Hello,
when the grounding for an answer from the Data store is very low, the Bot always sends a text message and a custom payload:
He always says, in different variations, that the user should check out a link.
For one, is the custom payload not visible for the user, so it's confusing to read that you should check out a link, but then no link is visible.
Also I want the Bot to just say, that he doesn't know the answer. In the agent settings, I have the following activated:
And this is the custom payload for one of the answers:
{
"richContent": [
[
{
"type": "match_citations",
"citations": [
{
"title": "Wie viel kostet das Breezy Gerät?",
"actionLink": "",
"subtitle": "Das Gerät kostet €1.649,00. Die Lieferung ist kostenlos in Deutschland und Österreich!\n\n<b><a href=\"https://neuro-shop.net/products/breezy\" target=\"_blank\">Jetzt bestellen!</a></b>"
},
{
"actionLink": "https://storage.cloud.google.com/neowakedach/support/enaera/unstrukturiert/enaera info.pdf#page=3",
"subtitle": "Was immer im menschlichen Körper geschieht, benötigt Energie, die der Körper in seinen Organen bzw. deren Zellen erzeugt.",
"title": "enaera info"
}
]
}
]
]
}
The second actionLink leads to my storage, which I didn't made public, so maybe that is the reason, why the custom payload is not visible?
Solved! Go to Solution.
Will do, yes. How I solved the issue for now, I send every Data Store - generated answer to a Cloud function, which checks if it contains the word "link" and if yes, produces a fallback question. Just a workaround, but works well so far.
Hi!
Your configuration seems good to me, you just need to test it in the dialogflow messenger integration. on the simulator you will never see the buttons.
Best,
Xavi
Hi Xavi,
thanks for your quick reply again!
You were right, I can see it now and I also know where the settings for the reply is, it's in the Agent responses setting for the Data store "Data store response options".
The issue is, that it doesn't accept 0 as value and also shares a link to the protected data sources, which lead you to the Google Login mask.
Test - Google Chrome - 22 November 2023 (loom.com)
Could that be a bug?
you will need to set the buckets public so you do not have the google login page
That is not, what is bothering me - more so that it generates an automatic response and sends a link I can't deactivate, when it should go to a "no-match" event. That is why I already set the grounding higher.
I just tested on my side, and I think that is a bug. This feature is too new. I would suggest opening a support ticket.
Will do, yes. How I solved the issue for now, I send every Data Store - generated answer to a Cloud function, which checks if it contains the word "link" and if yes, produces a fallback question. Just a workaround, but works well so far.
thats a good workaround!
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |