Google Generative AI

Chroma provides a convenient wrapper around Google's Generative AI embedding API. This embedding function runs remotely on Google's servers, and requires an API key.

You can get an API key by signing up for an account at Google MakerSuite.

This embedding function relies on the google-generativeai python package, which you can install with pip install google-generativeai.


You can view a more complete example chatting over documents with Gemini embedding and langauge models.

For more info - please visit the official Google python docs.