9 releases
Uses new Rust 2024
new 0.3.4 | Mar 11, 2025 |
---|---|
0.3.3 | Mar 9, 2025 |
0.3.1 | Feb 26, 2025 |
0.2.1 | Feb 1, 2025 |
0.1.0 | Oct 20, 2024 |
#376 in Text processing
560 downloads per month
Used in ragit-server
485KB
11K
SLoC
RAGIT
RAGIT (rag-it) is a git-like software that turns your local files into a knowledge-base. The main goal of this project is to make knowledge-bases easy-to-create and easy-to-share.
rag init;
rag add --all;
rag build;
rag query "What makes ragit special?";
Why another RAG framework?
RAGIT is very different from the other RAG frameworks.
- It adds a title and summary to every chunks. The summaries make AIs very easy to rerank chunks.
- It uses tfidf scores instead of vector searches. It first asks an AI to generate keywords from a query, then runs tfidf search with the keywords.
- It supports markdown files with images.
- It supports multi-turn queries (experimental).
- You can clone/push knowledge-bases, like git.
Platform support
Ragit is primarily supported on Linux (x64) and Mac (aarch64). It goes through a full test process before each release, on Linux and Mac. It is primarily developed on Linux and Mac.
You can use ragit on Windows, but you're likely to have issues. A few tests fail on Windows due to subtle platform issues, but I don't have enough time and energy to fix those.
Other than those 3 platforms, I haven't tested ragit on any platform.
More documents
- Build
- Chunks
- Configuration
- Contribution
- Evaluation
- Multi Turn
- Pipeline
- Prompt Engineering
- Quick Guide
Interactive documents
cargo install ragit;
rag clone http://ragit.baehyunsol.com/sample/ragit;
cd ragit;
export GROQ_API_KEY=YOUR_API_KEY;
rag query "How do I contribute to ragit?";
Dependencies
~30–46MB
~723K SLoC