Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

jeduclo/LexCam---Assistant-P-nal-Camerounais

Domain:

natural language processing

Record type:

software
Creator:
jed
Host:
LexCam is an advanced AI-powered legal assistant designed to help users navigate the Cameroon Penal Code (2016). It uses Retrieval-Augmented Generation (RAG) to provide accurate, citation-backed answers and simulates a legal tribunal for case analysis. LexCam 🇨🇲 - Assistant Pénal Camerounais LexCam is an advanced AI-powered legal assistant designed to help users navigate the Cameroon Penal Code. It uses Retrieval-Augmented Generation (RAG) to provide accurate, citation-backed answers and simulates a legal tribunal for case analysis. Features AI Chatbot: Ask questions in plain language and get answers grounded in the Penal Code. Multi-Agent System: Investigator Agent: Extracts legal keywords from user scenarios. Judge Agent: Analyzes facts using the IRAC method (Issue, Rule, Analysis, Conclusion). Defense Agent: Proposes mitigating circumstances and legal excuses. Prosecution Agent: Argues for strict application of the law and aggravating circumstances. Persistence: Automatically indexes and saves PDF documents to disk for instant loading. Transparency: Strict hallucination controls (Temperature 0) and citation requirements. Tech Stack Python 3.9+ Streamlit: Web Interface LangChain: Agent Orchestration Google Gemini (1.5 Flash): LLM Engine FAISS: Vector Database (Local Storage) PyPDF: Document Processing 📦 Installation 1. Clone the Repository git clone github.com cd lexcam-cameroun 2. Set up Virtual Environment Windows: python -m venv venv venv\Scripts\activate 3. Install Dependencies pip install -r requirements.txt 4. Configure API Key Create a .streamlit/secrets.toml file in the root directory: # .streamlit/secrets.toml GOOGLE_API_KEY = "your_google_api_key_here" (Get your key from Google AI Studio) 5. Add Data Ensure your PDF documents (e.g., Cameroun-Code-2016-penal1.pdf) are inside the data/ folder. Usage Run the application locally: streamlit run app.py The app will open in your browser at localhost. First Run: The app will take a few minutes to process the PDFs and create the faiss_index_store. Subsequent Runs: It will load instantly from the saved index. ⚖️ Disclaimer This tool is an AI experiment and does not constit …

Visit

github.com

Similar

KayinScholtz/Nal-ibaliRéinvestissement du nombre en Pidgin English CamerounaisFacteurs d’adoption des foyers améliorés en milieux urbains sahéliens camerounaisDispositifs d'autoformation en période post-covid dans les lycées camerounaismanfoya/Agri-AssistantIbnuawf/job-assistant

KayinScholtz/Nal-ibali

Nal'ibali Reading Campaign's Open Function Jobs to move events, reading club registrations,trainings

Réinvestissement du nombre en Pidgin English Camerounais

Facteurs d’adoption des foyers améliorés en milieux urbains sahéliens camerounais

Au Sahel camerounais, l’effet combiné de la dépendance vis-à-vis du bois-énergie et de l’accroisseme

Dispositifs d'autoformation en période post-covid dans les lycées camerounais

International audience

manfoya/Agri-Assistant

AI-powered mobile app providing crop recommendations to farmers in Benin based on soil and weather d

Ibnuawf/job-assistant

AI career-opportunity Telegram bot for the Ethiopian market (English + Amharic) — LLM matching pipel