https://github.com/pollinations/legal-copilot
Use GPT3 to simplify legal texts
https://github.com/pollinations/legal-copilot
Last synced: about 1 year ago
JSON representation
Use GPT3 to simplify legal texts
- Host: GitHub
- URL: https://github.com/pollinations/legal-copilot
- Owner: pollinations
- Created: 2022-06-24T14:16:01.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-12T11:01:40.000Z (almost 4 years ago)
- Last Synced: 2025-03-10T15:53:02.889Z (about 1 year ago)
- Language: Python
- Size: 470 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# legal-copilot
Transform legal texts into simple English using GPT-3
Example:
## Development
```sh
# Install dependencies
pip install -e ".[test]"
# Install pre-commit hooks
brew install pre-commit
pre-commit install -t pre-commit
cp .env.example .env
```
and run the server:
```
python legal_copilot/main.py
```
Or build an run the image:
```
docker build -t legal_copilot .
docker run -p 5000:5000 --env-file .env legal_copilot
```
# Requests
```
curl -X POST localhost:5000/legal -H "Content-Type: application/json" \
-d '{"original": "bla bla"}
```