Providers
Drift uses a provider model to connect to different large language models for drift assessment.
Gemini
To use the Gemini provider, you need to set the GEMINI_API_KEY environment variable to your Gemini API key.
export GEMINI_API_KEY="your-api-key"You can obtain a Gemini API key from Google AI Studio .
OpenAI
To use the OpenAI provider, you need to set the OPENAI_API_KEY environment variable to your OpenAI API key.
export OPENAI_API_KEY="your-api-key"You can obtain an OpenAI API key from the OpenAI Platform .
Last updated on