Notebooks
W
Weights and Biases
How To Use Gemini Pro API With WB Weave

How To Use Gemini Pro API With WB Weave

wandb-examplescolabsgemini

Open In Colab

How to use Gemini Pro API with W&B Weave

Read our article and follow along in this colab.

Installation

[ ]
[ ]

Set up your Google API key and log into W&B Weave

To run the following cell, your API key must be stored it in a Colab Secret named GOOGLE_API_KEY. If you don't already have an API key, or you're not sure how to create a Colab Secret, see the Authentication quickstart for an example.

[ ]
[ ]

Generate a summary and track it in Weave

[ ]
[ ]
[ ]
[ ]
[ ]

Gemini API JSON Mode

[ ]
[ ]
[ ]
[ ]
[ ]

Evaluation with Weave

[ ]
[ ]
[ ]
[ ]
[ ]
[ ]
[ ]
[ ]
[ ]