How sampath7670/intelligence-system works
The Intelligent Networking Assistant’s main workflow starts in the Streamlit interface, passes requests to FastAPI routes, and returns personalized professional communication grounded in retrieved knowledge and factual checks. The backend also manages personas and documents, recommends topics and follow-ups, and evaluates generated text against benchmarks. Its internal layers separate API orchestration, domain services, and persistent models. The README documents product capabilities beyond the sampled excerpts; edges reflect shown calls, indexed references, or documented interactions, and unsampled details are not inferred.
Main entry points: routes.py API routes · models.py Domain models · main.py FastAPI application · vector_service.py Hybrid retrieval
Components 15
User interface
- Streamlit interface
frontend/app.py
API orchestration
- FastAPI application
backend/main.py - API routes
backend/routes/routes.py
Knowledge and verification
- Document ingestion
backend/services/document_service.py - Hybrid retrieval
backend/services/vector_service.py - Claim verification
backend/services/verification_service.py - Wikipedia lookup
backend/services/wiki_service.py
Communication features
- Communication generation
backend/services/nlp_service.py - Smart recommendations
backend/services/recommendation_service.py - Benchmark evaluation
backend/services/evaluation_service.py
Persistence and configuration
- SQLite database
backend/database.py - Domain models
backend/models/models.py - Runtime configuration
config/config.py
Other components
- Professional user
- Wikipedia service
Connections 22
- Professional user → Streamlit interface: uses
README.md - Streamlit interface → FastAPI application: sends requests
README.md - FastAPI application → API routes: mounts routes
backend/main.py - FastAPI application → Document ingestion: seeds knowledge
backend/main.py - FastAPI application → Hybrid retrieval: rebuilds index
backend/main.py - API routes → Document ingestion: manages documents
backend/routes/routes.py - API routes → Hybrid retrieval: retrieves evidence
backend/routes/routes.py - API routes → Communication generation: generates messages
backend/routes/routes.py - API routes → Claim verification: checks claims
backend/routes/routes.py - API routes → Smart recommendations: requests suggestions
backend/routes/routes.py - API routes → Benchmark evaluation: runs benchmarks
backend/routes/routes.py - Claim verification → Hybrid retrieval: searches evidence
backend/services/verification_service.py - Claim verification → Wikipedia lookup: checks articles
backend/services/verification_service.py - Wikipedia lookup → Wikipedia service: queries
backend/services/wiki_service.py - API routes → SQLite database: opens sessions
backend/routes/routes.py - API routes → Domain models: reads and writes
backend/routes/routes.py - Document ingestion → Domain models: stores chunks
backend/services/document_service.py - Hybrid retrieval → Domain models: loads chunks
backend/services/vector_service.py - Smart recommendations → Domain models: reads feedback
backend/services/recommendation_service.py - Domain models → SQLite database: maps entities
backend/models/models.py - SQLite database → Runtime configuration: uses database URL
backend/database.py - Wikipedia lookup → Runtime configuration: uses user agent
backend/services/wiki_service.py