What is Vertex AI?
AI in Google Cloud is built on the Vertex AI platform, a suite of tools designed to help businesses build and manage ML projects. It gives users quick and easy access to powerful foundational models developed by Google and others. To use a foundational LLM provided by Google, you can start with the Google Cloud console.
Google Cloud console
The Google Cloud console is a web interface that allows you to interact with your Google Cloud environment. To try some foundational models, you can click the navigation menu in the top-left corner, select Vertex AI, scroll to the Vertex AI Studio tab, and click on Overview. You can now choose the type of model you need (multimodal, language, vision, or speech).
Vertex AI Studio is the simplest way to try out Google LLMs:
Figure 2.1: Using Vertex AI Studio to experiment with LLMs
You can try different prompts and tune various parameters in the right tab.
Using LangChain
To build actual...