RAG chatbot optimized for local LLMs
Top 84.4% on sourcepulse
Loyal Elephie is a RAG-powered AI chatbot designed for local LLM deployment, offering a memory-enabled conversational experience with a focus on user control and hybrid search. It targets users seeking a private, customizable AI companion that can integrate with local LLMs and optionally external Markdown editors.
How It Works
The system employs a hybrid search strategy combining ChromaDB and BM25 for efficient retrieval, with specific optimization for date-relevant queries. It utilizes an XML-based LLM agent that minimizes token usage and is compatible with local LLMs via Llama.cpp or ExllamaV2. A key feature is its controllable memory, allowing users to save, edit, and manage conversational context as a "second-brain."
Quick Start & Requirements
npm i
), and backend requirements (pip install -r requirements.txt
).frontend/users.json
and configure API URLs, keys, and model names in backend/settings.py
.npm run build && npm run start
and the backend with python app.py
.Highlighted Details
Maintenance & Community
The project is a personal project by v2rockets. No specific community channels or roadmap are detailed in the README.
Licensing & Compatibility
The repository does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.
Limitations & Caveats
The project was primarily designed for Linux; Windows and macOS compatibility are not fully tested, with WSL recommended for Windows users. The Markdown editor integration is optional and requires a separately hosted and configured editor.
5 months ago
1 day