Datastore + training phrases + intents

Is it possible to create a datastore that has all of the intents and training phrases. Then in a playbook refer to that tool/datastore for directions and where to transition?

Hi @Ian_Stack ,

Welcome to Google Cloud Community!

Data stores are solutions for storing various types of data, such as collections of websites, documents, or data in third-party systems, each of which references your data. They function as knowledge retrieval tools for the agent’s responses. While intents and training phrases are natively managed internally within the agent platform. Data stores are not primarily designed for directly storing intents and training phrases. Creating a data store that includes all intents and training phrases, and referencing it in playbooks for direction and transition, may require custom development. You can try using FAQ data stores where if a user’s question matches a stored one, the system just gives the pre-existing answer without any changes. Then, you can test and refine the data store and playbook using user feedback to enhance accuracy and the overall user experience.

For best practice, I still recommend using the native approach to manage intents and training phrases within your agent, since data stores serve as a knowledge base that provides the information required for intent fulfillment.

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.