{"id":51543918,"url":"https://github.com/eulogik/lexrag","last_synced_at":"2026-07-09T16:01:15.213Z","repository":{"id":369642232,"uuid":"1290749009","full_name":"eulogik/LexRAG","owner":"eulogik","description":"Legal Intelligence Terminal — Hybrid RAG for UAE \u0026 Indian Law, Taxation \u0026 Compliance. Built by Evolucent AI, engineered by Eulogik.","archived":false,"fork":false,"pushed_at":"2026-07-06T08:16:29.000Z","size":841,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-06T09:18:17.143Z","etag":null,"topics":["artificial-intelligence","case-law","compliance","corporate-tax","fastembed","gst","hybrid-search","indian-law","legal-ai","legal-rag","legal-research","legal-tech","python","qdrant","rag","retrieval-augmented-generation","tax-research","uae-law","vat"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eulogik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-06T07:52:59.000Z","updated_at":"2026-07-06T08:16:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/eulogik/LexRAG","commit_stats":null,"previous_names":["eulogik/lexrag"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/eulogik/LexRAG","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eulogik%2FLexRAG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eulogik%2FLexRAG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eulogik%2FLexRAG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eulogik%2FLexRAG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eulogik","download_url":"https://codeload.github.com/eulogik/LexRAG/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eulogik%2FLexRAG/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35304875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-09T02:00:07.329Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artificial-intelligence","case-law","compliance","corporate-tax","fastembed","gst","hybrid-search","indian-law","legal-ai","legal-rag","legal-research","legal-tech","python","qdrant","rag","retrieval-augmented-generation","tax-research","uae-law","vat"],"created_at":"2026-07-09T16:01:14.364Z","updated_at":"2026-07-09T16:01:15.208Z","avatar_url":"https://github.com/eulogik.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\nlibrary_name: lexrag\npipeline_tag: text-generation\ntags:\n  - legal-rag\n  - legal-ai\n  - legal-research\n  - retrieval-augmented-generation\n  - uae-law\n  - indian-law\n  - gst\n  - vat\n  - corporate-tax\n  - hybrid-search\n  - fastembed\n  - qdrant\n  - legal-tech\n  - compliance\n  - tax-research\n  - case-law\n  - evolucentai\n  - eulogik\nlicense: agpl-3.0\nlanguage:\n  - en\nwidget:\n  - text: \"What is the GST rate on online gaming contest prizes in India?\"\n  - text: \"UAE VAT on financial services\"\n  - text: \"TDS under Section 194B on winnings\"\n  - text: \"UAE Corporate Tax free zone treatment\"\ninference: false\n---\n\n\u003cbr/\u003e\n\u003ch1 align=\"center\"\u003e⚖️ LexRAG — The Legal Intelligence Terminal\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eEnterprise-Grade Hybrid RAG for UAE \u0026 Indian Law, Taxation \u0026 Compliance\u003c/strong\u003e\n  \u003cbr/\u003e\u003cbr/\u003e\n  \u003ca href=\"https://github.com/eulogik/LexRAG/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/eulogik/LexRAG?style=flat-square\u0026logo=github\" alt=\"Stars\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/eulogik/LexRAG/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/eulogik/LexRAG?style=flat-square\" alt=\"License\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://pypi.org/project/lexrag/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/lexrag?style=flat-square\u0026logo=pypi\" alt=\"PyPI\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://huggingface.co/EvolucentAI/lexrag\"\u003e\u003cimg src=\"https://img.shields.io/badge/%F0%9F%A4%97-Hugging%20Face-ffcc00?style=flat-square\" alt=\"HuggingFace\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## What is LexRAG?\n\n**LexRAG** is a professional-grade, high-performance Retrieval-Augmented Generation (RAG) platform purpose-built for **UAE and Indian laws, taxation, accounting standards, and corporate compliance**. It combines hybrid dense-sparse retrieval, neural reranking, auto-jurisdiction detection, and multi-provider LLM streaming into a zero-latency terminal interface.\n\n\u003e ⚡ **Built by [Evolucent AI](https://evolucentai.com)** — Premium Legal Technology Solutions  \n\u003e 🛠️ **Engineered by [Eulogik](https://eulogik.com)** — Enterprise AI \u0026 Systems Integration\n\n---\n\n## Key Capabilities\n\n| Capability | Technology |\n|------------|------------|\n| **Dense Retrieval** | `BAAI/bge-small-en-v1.5` via fastembed |\n| **Sparse Retrieval** | `prithivida/Splade_PP_en_v1` via fastembed |\n| **Hybrid Fusion** | Reciprocal Rank Fusion (RRF) |\n| **Neural Reranker** | `BAAI/bge-reranker-base` (CrossEncoder) |\n| **Vector Database** | Qdrant (on-disk, no Docker required) |\n| **LLM Providers** | Groq, OpenRouter, Ollama (dynamic model catalog) |\n| **Jurisdiction** | Auto-detect India/UAE/Both with manual override |\n| **Confidence Tiers** | GROUNDED / PARTIAL / SYNTHESIZED |\n| **Streaming** | SSE with heartbeat keep-alive |\n| **Persistence** | SQLite chat history with session management |\n\n---\n\n## Quick Start\n\n```bash\n# Install from PyPI\npip install lexrag\n\n# Or clone from source\ngit clone https://github.com/eulogik/LexRAG.git\ncd LexRAG\npip install -r requirements.txt\n\n# Configure\ncp .env.example .env\n# Edit .env with your API keys\n\n# Run\npython -m uvicorn api.main:app --host 0.0.0.0 --port 8000\n# Open http://localhost:8000\n```\n\n---\n\n## Architecture\n\n```mermaid\nflowchart TD\n    UI[HTML/CSS/JS SPA] \u003c--\u003e|SSE / API| FastAPI[FastAPI Server]\n    FastAPI \u003c--\u003e|History| SQL[(SQLite)]\n    Query --\u003e Detect[Auto-Jurisdiction]\n    Detect --\u003e Search{Hybrid Search}\n    Search --\u003e|Dense| Dense[BGE-small-en-v1.5]\n    Search --\u003e|Sparse| Sparse[Splade_PP_en_v1]\n    Dense \u0026 Sparse --\u003e|RRF| Qdrant[(Qdrant)]\n    Qdrant --\u003e|Candidates| Rerank[BGE-Reranker-Base]\n    Rerank --\u003e|Top Docs| Context[Build Prompt]\n    Context --\u003e LLM{LLM Router}\n    LLM --\u003e|Cloud| Groq[Groq]\n    LLM --\u003e|Cloud| OpenRouter[OpenRouter]\n    LLM --\u003e|Local| Ollama[Ollama]\n```\n\n---\n\n## Ecosystem\n\n| Platform | Link | Description |\n|----------|------|-------------|\n| **GitHub** | [eulogik/LexRAG](https://github.com/eulogik/LexRAG) | Source code \u0026 issues |\n| **PyPI** | [lexrag](https://pypi.org/project/lexrag/) | Python package |\n| **HuggingFace** | [EvolucentAI/lexrag](https://huggingface.co/EvolucentAI/lexrag) | Model card \u0026 codebase |\n| **HF Demo** | [EvolucentAI/lexrag-demo](https://huggingface.co/spaces/EvolucentAI/lexrag-demo) | Interactive Gradio Space |\n| **Eulogik** | [eulogik.com](https://eulogik.com) | Engineering partner |\n| **Evolucent AI** | [evolucentai.com](https://evolucentai.com) | Product \u0026 commercial |\n\n---\n\n## License\n\n**AGPL v3** — Free for open-source and internal use.  \nCommercial licenses available from [Evolucent AI](https://evolucentai.com) for proprietary deployments.\n\n---\n\n\u003cdiv align=\"center\"\u003e\n  \u003csub\u003e\n    Built by \u003ca href=\"https://evolucentai.com\"\u003eEvolucent AI\u003c/a\u003e — \n    Engineered by \u003ca href=\"https://eulogik.com\"\u003eEulogik\u003c/a\u003e\n  \u003c/sub\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feulogik%2Flexrag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feulogik%2Flexrag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feulogik%2Flexrag/lists"}