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:
Node.js v18+;
GoogleGenerativeAI package;
See below for a sample installation command:
npm install @google/generative-ai
Steps
Visit https://ai.google.dev/ and select Get API key.
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......"
}
}