How himanshu-skid19/automated-multimodal-literature-review works
Project type and purpose
• This is a specialized, full-stack AI tool (an open-source Multimodal RAG QA system) that ingests text and image data, indexes it in a vector store (Qdrant), and exposes a chat interface (via Chainlit) to answer user queries by retrieving relevant documents and augmenting an LLM’s generation.
File structure
• Top-level scripts and entry points:
• app.py: the Chainlit-based chat server / API layer
• run_llava.py: wrapper for running the multimodal LLM (LLaVA)
• build_vector_store.py & read_docs.py: ingestion pipeline (read files, preprocess, embed, upsert)
• query.py: retrieval + RAG orchestration for a single query
• imports.py / keys.py: shared settings, API‐key management
• table_trans.py: table‐specific preprocessing for documents
• Storage and indexing:
• qdrant_mm_db/: local snapshot of the Qdrant collection
• storage/*.json: JSON‐based docstore, index_store, graph_store
• files/: raw uploaded PDF or image assets
• Configuration:
• .chainlit/: Chainlit configuration (UI layout, language translations)
• requirements.txt: Python dependencies (PyTorch, qdrant-client, Chainlit, etc.)
README for additional insights
• Confirms a Docker-based Qdrant vector store
• Emphasizes “Multimodal Data Integration,” “Advanced RAG Techniques,” “Wide Application Range”
Detail without over-splitting
• Related scripts under a single component (e.g., “Ingestion Service” encloses read_docs.py + build_vector_store.py + table_trans.py).
• Still call out the distinct phases: “Preprocessing,” “Embedding,” “Indexing,” “Retrieval,” “Generation.”