9b2c903f7eb5269a584a4ed5f42344c611c66bff
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.
Description
A SearXNG plugin that generates local AI overviews powered by Ollama, using search results as RAG context.
Languages
Python
100%