Skip to content
Donné Alphonse.

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

  • JuriBot Mada Intelligent — screenshot 1
  • JuriBot Mada Intelligent — screenshot 2
  • JuriBot Mada Intelligent — screenshot 3
  • JuriBot Mada Intelligent — screenshot 4

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.

  1. · Malagasy · French

    Legal question asked in Malagasy or French.

  2. · Next.js · Tailwind

    Conversational web interface (Next.js, Tailwind CSS).

  3. · FastAPI

    FastAPI API receiving questions and orchestrating answer generation.

  4. · LangChain

    LangChain chain: prompt preparation and model call.

  5. · GPT-4

    GPT-4 language model generating the answer.

  6. · 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.

Conversational assistant: Next.js interface, FastAPI API, LangChain orchestration and GPT-4 model.

Results

  • Bilingual Malagasy / French assistant
  • Automated consultation workflows

Stack

  • Python
  • FastAPI
  • Next.js
  • LangChain
  • GPT-4
  • PostgreSQL
  • Tailwind CSS