To locate your Vertex AI data store path for grounding a chatbot in the studio, navigate to your Vertex AI Search data store in the Google Cloud Console and note its resource ID in the format
Here is the code snippet you can refer to:

In the above code we are using the following key points:
- Imports the discoveryengine_v1beta module from the Google Cloud client library to interact with Vertex AI Search.
- Defines a function list_data_stores that constructs the parent path using the provided project ID and location.
- Utilizes the list_data_stores method to retrieve and print the names of data stores within the specified collection.
- Requires setting your Google Cloud project ID and location to accurately target your resources.
By accessing the Vertex AI Search section in the Google Cloud Console or programmatically listing your data stores, you can identify the correct data store path to ground your chatbot effectively.