TreatiseAI is a legal research and writing tool built on the the OpenAI API. It requires an OpenAI API key and uses the Flask web framework. Follow the instructions below to get set up.
TreatiseAI is available as a web demo at treatiseai.com Email george@clearlayer.io for credentials, describing your use for the tool
-
If you don’t have Python installed, install it from here
-
Clone this repository
-
Navigate into the project directory
$ cd treatise-ai
-
Create a new virtual environment
$ python -m venv venv $ . venv/bin/activate
-
Install the requirements
$ pip install -r requirements.txt
-
Make a copy of the example environment variables file
$ cp .env.example .env
-
Add your API key to the newly created
.env
file -
You'll likely need to edit the file paths in app.py to match your own
-
Run the app
$ flask run
You should now be able to access the app at http://localhost:5000.