Create a local interface to the OpenAI API using Flask.
This is a work in progress. I'm still working on the best way to implement this. I'm open to suggestions.
Create a "openai-key.env" file with the following contents in the same directory as the script you are running:
OPENAI_API_KEY=<YOUR_API_KEY>