Knowledge GPT logo

Knowledge GPT

Free

Accurate answers and instant citations for your documents. ![GitHub Repo stars](https://img.shields.io/github/stars/mmz-001/knowledge_gpt?style=social)

FreeFree tier
Inputs: textOutputs: text
Type
Open Source

About Knowledge GPT

KnowledgeGPT is an open-source AI tool that enables users to upload documents and ask questions, receiving accurate answers with instant citations from the text. Built with Streamlit and Langchain, it provides a user-friendly interface for document-based question answering. The tool requires an OpenAI API key for processing and supports customization of upload size and chain parameters. It is distributed under the MIT License and was archived in February 2025, indicating it is no longer actively maintained.

Key Features

Upload documents and ask questions with instant answers and citations
Built with Streamlit for a simple web interface
Uses Langchain for LLM tooling and document processing
Supports Docker deployment for easy setup
Customizable max upload size (default 25MB) via config
Open-source with MIT license and active community contributions

Pros & Cons

Pros
  • Open-source and free to use with own OpenAI API key
  • Provides direct citations from source text for answer verification
  • Easy to deploy locally via Poetry or Docker
  • Customizable chain type, chunk size, and other parameters
  • Streamlit interface is straightforward and accessible
Cons
  • Repository archived and no longer maintained (as of Feb 2025)
  • Requires a paid OpenAI API key for reliable performance
  • Limited to text extraction; no OCR for scanned documents initially
  • Maximum file size of 25MB for hosted version (configurable locally)
  • Only supports document upload; roadmap included more formats but not implemented

Best For

Extracting information from academic papers or research documentsQuickly querying large text files for specific detailsBuilding custom knowledge bases for internal company documentsLearning from uploaded study materials with cited answers

FAQ

What file formats does KnowledgeGPT support?
The tool supports document uploads; the README mentions PDF and text files, but the roadmap includes future support for webpages, PPTX, and scanned documents with OCR.
Is KnowledgeGPT free to use?
Yes, the tool is open-source and free. You only need to provide your own OpenAI API key, which may incur costs based on OpenAI's pricing.
How do I install and run KnowledgeGPT?
Clone the repository, install dependencies with Poetry, activate the virtual environment, add your OpenAI API key to a .env file, and run 'streamlit run main.py' in the knowledge_gpt directory. Alternatively, use Docker with the provided Dockerfile.
Can I customize the behavior of KnowledgeGPT?
Yes, you can change the max upload size in .streamlit/config.toml and adjust chain type, chunk size, and other parameters. The roadmap also mentions more customization options.