PaLM 2 Chat Bison
Fine-tuned to conduct natural conversation. Use this model to build and customize your own chatbot application.The chat-bison model is a large language model that excels at language understanding, language generation and conversations. This chat model is fine-tuned to conduct natural multi-turn conversations.
The PaLM 2 Chat Bison is ideal for text tasks that require back-and-forth interactions. For text tasks that can be completed with one API response (without the need for continuous conversation), use the PaLM 2 Text Bison.
Model capabilities
Model properties
Model safety
Intended use
You can use Vertex AI Studio to experiment with the chat-bison model in the Google Cloud console. The chat-bison model also supports Python.
To use the PaLM 2 Chat Bison in the Google Cloud console, open it in Vertex AI Studio. To use it programmatically, you need to set it up in Python. Use the following topics to get started:
You can try a demo chatbot based on chat-bison@001 in Vertex AI Studio by performing the following steps:
In the Vertex AI Studio, click Chat prompt.
In the Context textbox, enter the following context:
In the text input field, ask questions about astronomy.
To use the chat-bison model with Python, do the following:
Setup
Obtain authentication credentials. Create local credentials by running the following command and following the oauth2 flow (read more about the command here:
Read more about Google Cloud Platform Authentication.
How to run a sample
chat.py
contains sample code that uses the chat-bison@001 model. The sample code asks the model how many planets there are in the solar system and contains context and an example. To run the sample, run the following command:Resource ID | Release date | Release stage | Description |
---|---|---|---|
chat-bison@002 | 2023-12-04 | General Availability | Updated version with enhanced quality |
chat-bison-32k@002 | 2023-12-04 | General Availability | Updated version with enhanced quality |
chat-bison | 2023-08-29 | General Availability | |
chat-bison-32k | 2024-04-01 | General Availability | |
chat-bison@001 | 2023-07-10 | General Availability | Quality improvements and restage -001 as the first stable base model release |
Google Cloud Console has failed to load JavaScript sources from www.gstatic.com.
Possible reasons are: