Google Models

Google Models

See Model Configuration for a full list of available model properties.

Overview

Use the procedure outlined below to configure and use Google’s generative AI models within Profound AI.

Requirements

Prior to using models from Google, you must install the following prerequisites:

  1. Node.js v18+;

  2. GoogleGenerativeAI package;

    1. See below for a sample installation command:

      npm install @google/generative-ai

Steps

  1. Visit https://ai.google.dev/ and select Get API key.

  2. Copy the API key into into your config.js file and assign it to the apiKey property of the model.

Example

The following example shows a sample configuration for the gemini-pro model:

models: { "Gemini Pro": { provider: "google", model: "gemini-pro", apiKey: "AI......" } }