How mangalisathwika/hybrid-hallucination-detection-system works
This is a post-hoc LLM factuality verification and correction tool. Reference material is parsed and chunked into semantic vectors stored in a searchable index; at query time, the system obtains an LLM answer and retrieves relevant evidence, then cross-evaluates the answer against that evidence. The UI presents the original response, high-risk spans, and an accuracy index. The tree contains no implementation excerpts, and README-mentioned app.py is absent, so paths are null; relationships below are documented in the README only.
Components 10
Reference Ingestion
- Reference Text
- Context Extraction
- Semantic Chunking
- Vector Index
Query Verification
- Query Interception
- LLM Agent
- Hybrid Evaluation
Results Presentation
- Streamlit UI
- Accuracy Index
Other components
- User
Connections 10
- Reference Text → Context Extraction: parses
README.md - Context Extraction → Semantic Chunking: breaks down
README.md - Semantic Chunking → Vector Index: stores vectors
README.md - User → Query Interception: queries
README.md - Query Interception → LLM Agent: requests answer
README.md - Query Interception → Vector Index: queries evidence
README.md - LLM Agent → Hybrid Evaluation: supplies response
README.md - Vector Index → Hybrid Evaluation: supplies evidence
README.md - Hybrid Evaluation → Streamlit UI: flags spans
README.md - Streamlit UI → Accuracy Index: presents index
README.md