3 unstable releases

0.2.0 Dec 30, 2024
0.1.1 Nov 13, 2024
0.1.0 Oct 20, 2024

#11 in #knowledge-base

Download history 111/week @ 2024-10-15 30/week @ 2024-10-22 121/week @ 2024-11-12 11/week @ 2024-11-19 2/week @ 2024-12-03 4/week @ 2024-12-10 81/week @ 2024-12-24 46/week @ 2024-12-31

131 downloads per month
Used in ragit-server

MIT license

285KB
7K 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 **/*.txt
rag add **/*.md;
rag build;
rag query "What makes ragit special?";

Why another RAG framework?

RAGIT is very different from the other RAG frameworks.

  1. It adds a title and summary to every chunks. The summaries make AIs very easy to rerank chunks.
  2. 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.
  3. It supports markdown files with images.
  4. It supports multi-turn queries (experimental).
  5. You can clone/push knowledge-bases, like git.
  • push command is WIP.

More documents

Dependencies

~28–43MB
~677K SLoC