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

Dialogflow-CX API with multiple specified dataStore

I'm in the process of building a chatbot to access various datastores. Right now it doesn't seem that there is any way to specify that an agent uses a specific datastore except to set up a separate app and agent for that specific datastore. From what I can tell, there is no way to specify a specific Flow, Page or DataStore (all different ways I could think of to access specific datastores) in the detectIntent. It seems like a lot of extra steps to have to set up a new Chat App, then configure the app, then create the datastore, then set the datastore for that agent, then call that specific AgentId. Is there a way to target a specific datastore through one app/agent using a single app? Otherwise it seems like a lot of redundant set up.

Solved Solved
0 7 2,502
1 ACCEPTED SOLUTION

hi Kevin,

knowing better your use case, you are correct, a data store can only be linked to an Agent. You will need to create multiple data stores and agents.

You can also solve it by conversation design principles. This means that you can have multiple flows per department in a big agent and guide user to choose the department at the beginning of the conversation.

Best,

Xavi

View solution in original post

7 REPLIES 7