kollektiv is a Retrieval-Augmented Generation (RAG) system designed for one purpose - allow you to chat with your favorite docs (of libraries, frameworks, tools primarily) easily.
This project aims to allow LLMs to tap into the most up-to-date knowledge in 2 clicks so that you don't have to worry about incorrect replies, hallucinations or inaccuracies when working with the best LLMs.
This project was born out of a personal itch - whenever a new feature of my favorite library comes up, I know I can't rely on the LLM to help me build with it - because it simply doesn't know about it!
The root cause - LLMs lack access to the most recent documentation or private knowledge, as they are trained on a set of data that was accumulated way back (sometimes more than a year ago).
The impact - hallucinations in answers, inaccurate, incorrect or outdated information, which directly decreases productivity and usefulness of using LLMs
But there is a better way...
What if LLMs could tap into a source of up-to-date information on libraries, tools, frameworks you are building with?
Imagine your LLM could intelligently decide when it needs to check the documentation source and always provide an accurate reply?
Meet kollektiv -> an open-source RAG app that helps you easily:
Note this is v.0.1.6 and reliability of the system can be characterized as following:
So do let me know if you are experiencing issues and I'll try to fix them.
Clone the repository:
git clone https://github.com/alexander-zuev/kollektiv.git
cd kollektiv
Set up environment variables:
Create a .env
file in the project root with the following:
FIRECRAWL_API_KEY="your_firecrawl_api_key"
OPENAI_API_KEY="your_openai_api_key"
ANTHROPIC_API_KEY="your_anthropic_api_key"
COHERE_API_KEY="your_cohere_api_key"
Install dependencies:
poetry install
Run the application:
poetry run kollektiv
Start the Application:
# Run both API and Chainlit UI
poetry run kollektiv
# Or run only Chainlit UI
chainlit run main.py
Add Documentation:
@docs add https://your-docs-url.com
The system will guide you through:
Manage Documents:
@docs list # List all documents
@docs remove [ID] # Remove a document
@help # Show all commands
Chat with Documentation: Simply ask questions in natural language. The system will:
/
For a brief roadmap please check out project wiki page.
Evaluation is currently done using ragas
library. There are 2 key parts assessed:
kollektiv is licensed under a modified version of the Apache License 2.0. While it allows for free use, modification, and distribution for non-commercial purposes, any commercial use requires explicit permission from the copyright owner.
See the LICENSE file for the full license text and additional conditions.
The project has been renamed from OmniClaude to kollektiv to:
If you have any questions regarding the renaming, feel free to reach out.
For any questions or issues, please open an issue
Built with ❤️ by AZ