Skip to main content

Google Gemini

Requisites

To use Gemini models by Google, you need to have the following credential information. You can get them by signing up at Gemini.

Required credentials:

  • GOOGLE_GEMINI_API_KEY: Your Google Gemini API Key for authentication.

Optional credentials:

  • GOOGLE_GEMINI_API_VERSION: The version of the Google Gemini API being used.

Supported Models:

All models provided by Anthropic has the following properties:

  • Function call: Not supported
  • Streaming: Supported

All models accept the following extra configs when generating texts:

  • temperature
  • top_p
  • top_k
  • max_tokens
  • stop

Gemini Pro

  • Model schema id: google_gemini/gemini-pro

Gemini Pro offers advanced chat completion capabilities with extensive input and output token limits for comprehensive interactions.

  • Input token limit: 30720
  • Output token limit: 2048

Gemini Pro Vision

  • Model schema id: google_gemini/gemini-pro-vision

Gemini Pro Vision offers vision-enabled chat completion capabilities with extensive input and output token limits for comprehensive interactions.

  • Input token limit: 12288
  • Output token limit: 4096