How allen-paul-18/locallens-omnirag works
Multimodal RAG System lets users upload or batch-ingest documents, search their text, images, and audio-derived transcriptions, and retrieve grounded results or generate answers. The Streamlit app is the primary user entry point; the backend implements ingestion, modality-aware search, reranking, and answer generation. Oracle storage is an optional documented backend capability. The source is concentrated in a single backend file, so several domain stages share its path; unsampled implementation details are represented only where the README documents them.
Main entry points: multimodal_rag_system.py Document ingestion · streamlit_app.py Streamlit app · batch_ingest.py Batch ingestion
Components 13
User interface
- Streamlit app
streamlit_app.py
Content ingestion
- Batch ingestion
batch_ingest.py - Document ingestion
multimodal_rag_system.py - Text processing
multimodal_rag_system.py - Image processing
multimodal_rag_system.py - Audio transcription
multimodal_rag_system.py - Embeddings
multimodal_rag_system.py
Search and answers
- Semantic search
multimodal_rag_system.py - Cross-modal search
multimodal_rag_system.py - Result reranking
multimodal_rag_system.py - Answer generation
multimodal_rag_system.py
Persistence
- Oracle vector store
multimodal_rag_system.py
Other components
- User
Connections 13
- User → Streamlit app: uses
README.md - Streamlit app → Semantic search: queries
streamlit_app.py - Streamlit app → Answer generation: requests answers
streamlit_app.py - Batch ingestion → Document ingestion: ingests files
batch_ingest.py - Document ingestion → Text processing: extracts text
multimodal_rag_system.py - Document ingestion → Image processing: processes images
multimodal_rag_system.py - Document ingestion → Audio transcription: transcribes audio
multimodal_rag_system.py - Document ingestion → Embeddings: creates embeddings
multimodal_rag_system.py - Semantic search → Result reranking: reranks candidates
multimodal_rag_system.py - Cross-modal search → Embeddings: uses embeddings
multimodal_rag_system.py - Semantic search → Oracle vector store: searches vectors
multimodal_rag_system.py - Document ingestion → Oracle vector store: stores chunks
multimodal_rag_system.py - Answer generation → Semantic search: uses retrieved context
multimodal_rag_system.py