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

Best practice for datastore document formats for generative chat apps.

Greetings, I followed the tutorial "Create a Generative Chat App with Vertex AI", where my data store consists of one large text file. This text file essentially is a collection of my documentation (live on a website) but stored in one file. However, I want to be able to provide realtime links to the actual website if needed. How canI best format my document to also provide these links that users can click when interacting with the chat app? Any suggestions?

0 1 105
1 REPLY 1

Hi @KnightOfZero,

Welcome to Google Cloud Community!

For best practices, you can consider using the Grounding feature in Vertex AI which provides verifiable sources and reduces hallucinations to your model responses. You can achieve this through RAG (Retrieval Augmented Generation) to enhance the retrieval and traceability of information from your data sources.

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.