Simple Express.js server that provides an API for interfacing with GPT-3 model. It can take in a question and a context, and it returns a generated response using the GPT-3 model.
Create a .env file in the root directory and add your CORRECT_API_KEY and OPENAI_API_KEY as shown below:
CORRECT_API_KEY=<Your_API_Key> OPENAI_API_KEY=<Your_OpenAI_API_Key>