CodeForPhilly / balancer-main

CodeForPhilly balancer project (https://opencollective.com/code-for-philly/projects/balancer)
GNU Affero General Public License v3.0
11 stars 8 forks source link

Add OPENAI_API_KEY to setup #9

Closed ryanrrogers closed 7 months ago

ryanrrogers commented 11 months ago

This API key is required for features that use ChatGPT such as the website text extraction feature. It was suggested that we pass this env variable through the docker container rather than using dotenv. A requirement should be added to add your own API key when cloning and setting up the application.

ryanrrogers commented 11 months ago

I also wanted to leave a note here that the chatgpt features now use environment variables passed into the container. The dockerfile will need to be updated to support passing in those environment variables before they are used.

ryanrrogers commented 11 months ago

We might want to change this to add contents of .env to setup