Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Dialogflow CX - multiple pages with datastore agents

Hi,

My goal is to create an agent that answers questions choosing between two datastores based on the topic. I'm encountering a problem when trying to create a flow made of a start page and two other pages, each one connected to a data store specific for a domain. On the start page i aks for the domain and then when i ask the question being on one of the two pages with a datastore i get no response from the datastore agent and get thrown away on the other domain page and viceversa. There are no rutes to send me back to the start page or to the other datastore page. I dont know why this is happening. Does someone? Or are there any tutorials or different strategies i could adopt?

Thank you

1 2 1,030
2 REPLIES 2

I would recommend to make sure that you are transitioning to the correct page. Also please take into account the order of execution to understand how DF CX works: 

xavidop_0-1701231184041.png

I also recommend to take a look at this codelab: https://codelabs.developers.google.com/codelabs/vertex-ai-conversation#0

Best,

Xavi

Thaks a lot for your answer. I found a temporary solution by using different flows instead of different pages. Still i have the problem that the datastore agent doesnt handle the event when i get there from a different flow (i guess because there is some parameter passed and the handlers give priority to it). When i start directly on the datastore page/flow it tends to answer. I was wandering is there a way to personalize the datastore agent's answer more? like giving it a desirable size/format of the response. Or giving examples as we usually do with a prompt in langchain for instance. I've tried using the blank fields in the agent options but the changes to that prompt seem very limited. Thank you!