LlamaLaw is an AI-powered chatbot designed to help visitors and newcomers navigate government websites and understand legal processes with ease. Built with a fine-tuned language model trained on legal conversations, LlamaLaw provides multilingual support, breaking down complex information on topics like visas, permits, and residency applications into clear, step-by-step guidance. By offering accurate, up-to-date information and a user-friendly experience, LlamaLaw simplifies government procedures, making essential services more accessible and reducing confusion for users.
Provides legal assistance in any given language
Provide any web URL and the bot provides the right instruction to navigate
This is a legal chatbot provies legal information and assistance as per the webpage
Gives step by step instruction to navigate through the webpage and provides rules and regulations
This project was built for the hackathon Llama-Impact-Hackathon so we used the llama-3 models, We used Together.AI platform for API's for our project. We also leveraged togetherai for fine tuning our models to this perticular use case. we trained the model using the below lawyer-instruct dataset from hugging face. We compared other models hosted on togetherai and finally choose llama-3-8B-instruct for our use case.
web-scraping crawl4ai
base model huggingface
dataset for fine-tuning our model huggingface
User Interface - Streamlit
Vectordatabase - ChromaDB
LlamaLaw addresses several critical challenges that tourists, visitors, international students and citizens face when trying to navigate government websites and access legal services:
-
Language Barriers: LlamaLaw provides multilingual support, allowing users to access guidance in their preferred language.
-
Complex Legal Jargon: It simplifies legal terms, making government information clear and easy to understand.
-
Time-Consuming Navigation: LlamaLaw offers quick, direct answers, helping users find what they need without endless searching.
-
Misinformation and Errors: By providing accurate, updated information, LlamaLaw reduces misunderstandings and mistakes.
-
Lack of Personalized Support: It delivers personalized, step-by-step guidance, offering a more supportive experience.