The Gemini Provider supports querying Gemini language models for prompt-based
interactions.
Authentication
This provider requires authentication.
- api_key: Google AI API Key (required: True, sensitive: True)
In workflows
This provider can be used in workflows.
As “step” to query data, example:
steps:
- name: Query gemini
provider: gemini
config: "{{ provider.my_provider_name }}"
with:
prompt: {value}
model: {value}
max_tokens: {value}
structured_output_format: {value}
If you need workflow examples with this provider, please raise a GitHub issue.
Connecting with the Provider
To connect to Gemini, you’ll need to obtain an API Key:
- Go to Google AI Studio.
- Click on Create API Key or use an existing one.
- Copy your API key for Keep.
Use the generated API key in the authentication section of your Gemini Provider configuration.