Document Q&A app with citations
Top 26.0% on sourcepulse
KnowledgeGPT provides accurate, cited answers from uploaded documents, targeting users who need to quickly extract information and verify sources. It leverages a Langchain-based architecture to process documents and interact with LLMs, offering a user-friendly Streamlit interface for document interaction.
How It Works
The system processes user-uploaded documents, likely chunking them and creating embeddings for efficient retrieval. When a question is posed, it performs a similarity search against the document embeddings to find relevant text snippets. These snippets are then fed to a Large Language Model (LLM) along with the question, prompting the LLM to generate an answer and cite the source text. This approach ensures answers are grounded in the provided documents and their origins are transparent.
Quick Start & Requirements
poetry install
and run with streamlit run main.py
.Highlighted Details
.streamlit/config.toml
.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The current implementation primarily supports document formats that Langchain can process out-of-the-box; support for formats like webpages and PPTX is planned. OCR for scanned documents is also a future enhancement.
1 year ago
Inactive