Ragit offers a seamless way to interact with any folder of documents through a local language model. By utilizing Retrieval-Augmented Generation, it allows users to index various document formats and chat about the content directly. All processing remains local, ensuring data security without reliance on external services.
ragit is a powerful local command-line interface (CLI) designed to facilitate seamless interactions with a folder of documents using Retrieval-Augmented Generation (RAG) and the Ollama language model. This tool enables users to engage in meaningful conversations with their documents without the need for API keys or cloud services, ensuring complete data privacy and security.
.txt, .md, .pdf, and .docx. This allows for easy access and discussion of documents right from your machine.ragit index ./docs
ragit chat ./docs
ragit models
ragit clear ./docs
The ragit tool operates by loading and processing supported documents recursively. It splits the text into manageable chunks to facilitate efficient querying:
nomic-embed-text model and stored in a local ChromaDB for fast retrieval at ~/.ragit/<hash_of_path>/ during chat sessions.All operations with ragit are conducted locally, ensuring that sensitive data remains on your machine. Indexes and document data are stored securely under ~/.ragit/<hash_of_path>/, and unsupported files are skipped with clear error messages, maintaining a smooth user experience.
In summary, ragit offers a user-friendly and secure method to interact with documents through local language models, making it an invaluable tool for anyone needing to extract or discuss information from multiple sources efficiently.
No comments yet.
Sign in to be the first to comment.