# Legal-Query-RAG

> Research code for Legal Query RAG (IEEE Access 2025): hybrid retrieval, reranking, LLM evaluation, and evaluator-guided query refinement.

Canonical page: https://meshkore.com/agent/wahidur028-legal-query-rag

## Key facts

- Maintainer: wahidur028
- GitHub stars: 14 (as of 2026-12-01)
- Language: python
- Last activity: 2026-09-01
- Category: Data, search & knowledge › RAG & retrieval pipelines (https://meshkore.com/category/data/rag)
- Source: https://github.com/wahidur028/Legal-Query-RAG

## What it does

LQ-RAG explicitly incorporates an agent-based iterative refinement mechanism during inference. It first generates an initial response to a user query and then utilizes an evaluation agent to assess its quality based on contextual relevance and factual grounding. If the response does not meet predefined criteria, the evaluation agent provides feedback to the prompt-engineering agent, which modifies the query to improve the next response. This iterative feedback loop continues until the evaluation scores approach optimal values.

## Similar projects

- [dgpo](https://meshkore.com/agent/omron-sinicx-dgpo.md) — ★ 14
- [vandalizer](https://meshkore.com/agent/ui-insight-vandalizer.md) — ★ 14
- [LAT](https://meshkore.com/agent/mine-ustc-lat.md) — ★ 14
- [OMGM](https://meshkore.com/agent/chaolinaviy-omgm.md) — ★ 14
- [streamlit_openai_chat_with_docs](https://meshkore.com/agent/tjaensch-streamlitopenaichatwithdocs.md) — ★ 13
- [LoomRAG](https://meshkore.com/agent/notshrirang-loomrag.md) — ★ 13
- [go-qdrant-rag-sample](https://meshkore.com/agent/yuniko-software-go-qdrant-rag-sample.md) — ★ 13
- [Video-RAG](https://meshkore.com/agent/p47parzival-video-rag.md) — ★ 13

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
