Try your prompts in Vertex AI Studio

Use Vertex AI Studio to design, test, and customize your prompts sent to Google's Gemini and PaLM 2 large language models (LLM). After an LLM processes your prompt, it sends you its response. To learn more about the Vertex AI Studio, see Experiment with models in Vertex AI Studio.

New to Google Cloud

Get set up on Google Cloud

If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers get $300 in free credits to run, test, and deploy workloads. The setup process is only three short steps:

Sign up screenshots

Use the following button to create an account. After you're done, return to this page to complete this beginner tutorial. To use all features available on this site, sign in using your account.

Create an account

For more information on getting set up on Google Cloud, see Get set up on Google Cloud.

  1. Go to the Vertex AI Studio page from the Vertex AI section in the Google Cloud console.
    Vertex AI Studio
  2. Click Open on the Language model option.
  3. From the Language studio, navigate to the Prompt Gallery, and select Open on the Transcript Summarization prompt example. The prompt, model, and parameters are prefilled with the values from the sample prompt.
  4. Click Submit to get a response from the test model. Scroll down to see all of the results.
  5. To see different results, change the Model in the model drop-down, and adjust the parameters.

Design and test your prompt

You can create and test your prompts (inputs) for tasks that are relevant to your business use case, and generate responses. By adding inputs and outputs, the LLM is capable of learning in-context from the examples of responses.

You can create a prompt, which gives a precise instruction, and asks the LLM to complete a sentence for you or to answer one-time questions.

  1. Go to the Vertex AI Studio page from the Vertex AI section in the Google Cloud console.
    Vertex AI Studio
  2. Click Open on the Language model option.
  3. Click Create Prompt. An untitled prompt opens.
  4. In the prompt box, add a clear and concise description of the task that you want the model to do.
  5. As an example, ask the model to Suggest a name for a flower shop that sells bouquets of dried flowers.
  6. Click Submit.
  7. Responses appear in response box. If you want to view different results, adjust the parameters, and click Submit.

What's next