Use Google Cloud console to ground

This page explains how to use the Google Cloud console to ground your LLM responses.

Use the Google Cloud console to ground

Grounding can also be used in the Google Cloud console.

  1. In the Vertex AI Studio of the Google Cloud console, go to Create prompt page.

    Go to Create prompt

  2. Select a model that supports grounding.

  3. To turn on grounding, click the Grounding: Your data toggle.

  4. Select Elasticsearch, and Grounding with Elasticsearch section displays.

  5. Enter your Elasticsearch endpoint in the Elasticsearch endpoint field.

  6. Enter your API key in the API key field.

  7. Enter your Elasticsearch index in the Index field.

  8. Enter your Elasticsearch template name in the Search template field.

  9. Adjust the number of hits by sliding the Number of hits bar. Click Save.

What's next