Agentic AI2024
JuriBot Mada Intelligent
AI platform making the law accessible in Madagascar. Intelligent answers to legal questions in Malagasy and French.
- Role
- Full-stack AI developer
- Team
- Solo
- Duration
- Delivered
- Status
- Completed
Context
Make the law accessible in Madagascar: a broad audience must be able to ask legal questions in Malagasy or French and get an understandable answer.
Preview
Constraints
- Two languages: Malagasy and French.
- Non-specialist audience: answers must remain understandable.
- Solo project, from backend to interface.
Architecture
6-step flow: User, then Interface, then API, then Orchestration, then LLM, then PostgreSQL. Use the arrow keys to move from one step to the next.
· Malagasy · French
Legal question asked in Malagasy or French.
· Next.js · Tailwind
Conversational web interface (Next.js, Tailwind CSS).
· FastAPI
FastAPI API receiving questions and orchestrating answer generation.
· LangChain
LangChain chain: prompt preparation and model call.
· GPT-4
GPT-4 language model generating the answer.
· Application data
Application PostgreSQL database.
Legal question asked in Malagasy or French.
Conversational web interface (Next.js, Tailwind CSS).
FastAPI API receiving questions and orchestrating answer generation.
LangChain chain: prompt preparation and model call.
GPT-4 language model generating the answer.
Application PostgreSQL database.
Results
- Bilingual Malagasy / French assistant
- Automated consultation workflows
Stack
- Python
- FastAPI
- Next.js
- LangChain
- GPT-4
- PostgreSQL
- Tailwind CSS



