All projects
LLM / NLP

AI Chatbot for Legal Information Retrieval

Local RAG chatbot for public sector legal information retrieval.

AI Chatbot for Legal Information Retrieval

A local AI-powered chatbot for retrieving information from public sector legal sources using retrieval-augmented generation and locally operated language model infrastructure.

The challenge

Legal source material is dense and distributed, and the application needed to retrieve relevant passages while keeping the AI workflow local.

The solution

Built an ingestion and embedding workflow, connected semantic retrieval to a locally hosted language model, and created a Streamlit interface for question answering over the source collection.

Architecture

Documents are processed into searchable chunks and embeddings. Retrieved context is passed to an Ollama-hosted model, with Streamlit providing the user interface and Docker packaging the application.

Project visuals

AI Chatbot for Legal Information Retrieval screenshot 1
Open to data and AI roles

Looking for a data or AI engineer?

I am open to Data Scientist, Machine Learning Engineer, AI Engineer and full-stack data or AI development opportunities.