How varshini10sri/llm-search-and-summarizer works
This repository offers two ways to submit a query to Gemini and receive a generated summary: a standalone FastAPI API and a unified Flask-served web interface with API routes. The browser interface adds insights, history, settings, and search statistics stored locally. The standalone API returns summary, confidence, and timing; the unified API returns summary, insights, and confidence. Connections reflect the sampled source and documented behavior; unsampled subsystems are not inferred.
Main entry points: llm_search_engine.py Standalone search API · script.js UI interactions · app.py Unified app and routes · index.html Search interface
Components 11
Web experience
- Search interface
LLM search Engine/LLM_search_with_frontend/frontend/index.html - UI interactions
LLM search Engine/LLM_search_with_frontend/frontend/script.js - Browser history and settings
LLM search Engine/LLM_search_with_frontend/frontend/script.js
Search APIs
- Unified app and routes
LLM search Engine/LLM_search_with_frontend/app.py - Standalone search API
LLM search Engine/backend/llm_search_engine.py - Query validation
LLM search Engine/backend/llm_search_engine.py - Summary and timing response
LLM search Engine/backend/llm_search_engine.py - Summary and insights response
LLM search Engine/LLM_search_with_frontend/app.py
LLM generation
- Gemini model
Other components
- Search user
- API client
LLM search Engine/LLM_search_with_frontend/example_usage.py
Connections 12
- Search user → Search interface: enters query
- Search interface → UI interactions: loads interaction
- UI interactions → Unified app and routes: posts search
LLM search Engine/LLM_search_with_frontend/frontend/script.js - UI interactions → Browser history and settings: reads and saves
LLM search Engine/LLM_search_with_frontend/frontend/script.js - Unified app and routes → Gemini model: generates insights
LLM search Engine/LLM_search_with_frontend/app.py - Unified app and routes → Summary and insights response: returns results
LLM search Engine/LLM_search_with_frontend/app.py - Summary and insights response → UI interactions: displays response
LLM search Engine/LLM_search_with_frontend/frontend/script.js - Search user → Standalone search API: submits query
- Standalone search API → Query validation: validates query
LLM search Engine/backend/llm_search_engine.py - Standalone search API → Gemini model: processes query
LLM search Engine/backend/llm_search_engine.py - Standalone search API → Summary and timing response: returns summary
LLM search Engine/backend/llm_search_engine.py - API client → Standalone search API: calls endpoints
LLM search Engine/LLM_search_with_frontend/example_usage.py