AnayasalRAGai - Turkish Constitution RAG Assistant is a Retrieval-Augmented Generation system focused on the Constitution of the Republic of Turkiye, combining structured legal data, semantic search, and local AI assistance.
Designed for AI developers, legaltech builders, Turkish law researchers, RAG system designers, and students experimenting with trustworthy document-grounded assistants.
- Local-first RAG workflow for Turkish constitutional text.
- Hybrid retrieval using keyword and vector search concepts.
- Structured Markdown and JSON legal data for machine-readable workflows.
- FastAPI backend foundation for legal question answering.
- Prompting strategy designed to stay close to the source context.
- Useful reference project for Turkish NLP, legal AI, and retrieval pipelines.
Install Python 3.10+, install requirements with pip install -r requirements.txt, and prepare the required local model/runtime such as Ollama if used by your setup.
Run the backend or scripts included in the repository, index the constitution data, then query the assistant through the provided API or UI workflow.
This project is an educational and research tool. It is not legal advice; always verify legal questions with qualified professionals and official sources.
Turkish Constitution RAG, Anayasa AI assistant, legal RAG system, Turkish legaltech AI, retrieval augmented generation Python, FastAPI RAG, Ollama legal assistant, Turkiye Cumhuriyeti Anayasasi AI
ai, rag, legaltech, turkish-constitution, python, fastapi, ollama, nlp