-
Clone the repository:
git clone https://github.com/bcgov/EPIC.conditionscd EPIC.conditions -
Set up a virtual environment:
python -m venv venv -
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate -
On Linux/MacOS:
source venv/bin/activate
-
-
Install the required packages:
pip install -r requirements.txt -
Create a file named
.envin the root directory of the project and add your OpenAI API key:OPENAI_API_KEY=openai_api_key_here
Follow the condition-parser README to extract info and get a JSON.
Follow the condition-lib README to add the extracted JSON to the PostgreSQL database.
Note: gradio_ui.py in this directory is depreciated.
For verifying the output of a batch, see manual verification README.
