Lawsy is a hackathon-born Legal Search tool for Japanese statutes and regulations. This open-source repository reflects the prototype developed during the hackathon and is not a production-ready implementation. It integrates semantic search, statute databases, and authoritative web sources to generate clear, referenced reports, showing how legal research can be made more accessible and transparent.
pip install uvOPENAI_API_KEYInstall Python packages
make install
Create .env file and put it in the repository root directory.
OPENAI_API_KEY=sk-... # OpenAI API KEY
LAWSY_WEB_SEARCH_ENGINE=DuckDuckGo
LAWSY_LM=openai/gpt-4o-mini
make lawsy-download-preprocessed-data
make lawsy-run-app
format:
make format
lint:
make lint
Python
92.8%
CSS
3.9%
Makefile
2.6%
Lawsy is a hackathon-born Legal Search tool for Japanese statutes and regulations. This open-source repository reflects the prototype developed during the hackathon and is not a production-ready implementation. It integrates semantic search, statute databases, and authoritative web sources to generate clear, referenced reports, showing how legal research can be made more accessible and transparent.
pip install uvOPENAI_API_KEYInstall Python packages
make install
Create .env file and put it in the repository root directory.
OPENAI_API_KEY=sk-... # OpenAI API KEY
LAWSY_WEB_SEARCH_ENGINE=DuckDuckGo
LAWSY_LM=openai/gpt-4o-mini
make lawsy-download-preprocessed-data
make lawsy-run-app
format:
make format
lint:
make lint
Python
92.8%
CSS
3.9%
Makefile
2.6%