Skip to content

Google PaLM 2

The PaLM API is based on Google’s next generation model, PaLM 2, which excels at a variety of capabilities. PaLM 2 has been optimized for ease of use on key developer use cases and the ability to follow instructions with precision and nuance. It has variations that are trained for text and chat generation as well as text embeddings. This guide provides information about each variation to help you decide which is the best fit for your use case.

Official Website: https://developers.generativeai.google/models/language

Supported Models on Dialoqbase

Model NameType
chat-bison-001Chat
embedding-gecko-001Embedding

API Key

Currently, Google PaLM 2 is in whitelist mode. You can request access by filling https://makersuite.google.com/waitlist form.

How to get API Key

  1. Go to https://makersuite.google.com/ and login with your Google account.

  2. Navigate to the https://makersuite.google.com/app/apikeys page.

  3. Click Create API key in new project button.

  4. Copy your API key and paste it to the GOOGLE_API_KEY environment variable.

Disclaimer

Dialoqbase is not affiliated with Google. All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.

MIT Licensed Open Source Project