Skip to content

A simple GPT-3 interface to automate core legal writing tasks

Notifications You must be signed in to change notification settings

DotDoug/TreatiseAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TreatiseAI

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

Setup

  1. If you don’t have Python installed, install it from here

  2. Clone this repository

  3. Navigate into the project directory

    $ cd treatise-ai
  4. Create a new virtual environment

    $ python -m venv venv
    $ . venv/bin/activate
  5. Install the requirements

    $ pip install -r requirements.txt
  6. Make a copy of the example environment variables file

    $ cp .env.example .env
  7. Add your API key to the newly created .env file

  8. You'll likely need to edit the file paths in app.py to match your own

  9. Run the app

    $ flask run

You should now be able to access the app at http://localhost:5000.