The goal of this project/application is to use RAG (Retrieval Augmented Generation), fine tuning and synthetic data generation to help anyone get a better understanding of the differenty ordinances for the municapality of the state that someone may reside in. It can get really complicated really quickly to understand what laws/ordinances or other codes that you have to follow in your municipality. The state of New Jersey is a great example of an abundance of legal data to comb through for this subject, as there are 500+ municipalities.
- Google Drive Link - Video on Google Drive
- NOTE: Screenshot with cURL was deleted as I would prefer the whole internet does not have too much info about my personal computer.
- Google Drive Link - Google Slides on Google Drive
- Set up RestAPI for project (FastAPI)
- Implement RAG into chosen RestAPI
- Need this application to take in user input, provide a response
- Create a script that will load information into vectordb, in order for RAG to work (Chroma needs to be loaded)
- Get Anything LLM running online (Use GCP???)
- Get FastAPI running with Anything LLM
- Download town ordnances in PDF files, load into Anything LLM
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
Give examples
A step by step series of examples that tell you how to get a development env running Say what the step will be
Give the example
And repeat
until finished
End with an example of getting some data out of the system or using it for a little demo
Explain how to run the automated tests for this system
Explain what these tests test and why
Give an example
Explain what these tests test and why
Give an example
Add additional notes about how to deploy this on a live system
- Python (FastAPI, Pandas, others)
- AnythingLLM, Hugging Face (Free LLMs)
- GCP
We use SemVer for versioning. For the versions available, see the tags on this repository. (NO TAGS YET)
- Chris Keddell - Initial work - chris-k-njit
- Mark S. - Initial work - markszcz
This project is licensed under the GNU General Public License v3.0 (GPL-3.0) - see the LICENSE file for details
- Thanks to Maps on the Web, for NJ Municipalities by Type map.
- NJ Towns with PDF files of their local ordnances.
- Inspiration
- etc