668 B
668 B
SearXNG Gemini Stream
A SearXNG plugin that streams an AI response using results as grounding context to an Answer box at the top of results.
Configuration
Set the following environment variables:
GEMINI_API_KEY: Your Google Gemini API key.GEMINI_MODEL: (Optional) Defaults togemini-3-flash-preview.GEMINI_MAX_TOKENS: (Optional) Defaults to500.GEMINI_TEMPERATURE: (Optional) Defaults to0.2.
settings.yml
Add this to your SearXNG configuration file to enable the plugin:
plugins:
- name: gemini_flash
active: true
Installation
Place gemini_flash.py into the searx/plugins directory of your instance.