827420b8 by RSA

fix

1 parent 0634b3ad
1 API_KEY= 1 OPENAI_API_ORG=
2 API_ORG= 2 OPENAI_API_KEY=
3 SERVER_URL= 3 SERVER_URL=
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -5,8 +5,8 @@ const cors = require('cors') ...@@ -5,8 +5,8 @@ const cors = require('cors')
5 5
6 // Open AI Configuration 6 // Open AI Configuration
7 const configuration = new Configuration({ 7 const configuration = new Configuration({
8 organization: process.env.API_ORG, 8 organization: process.env.OPENAI_API_ORG,
9 apiKey: process.env.API_KEY, 9 apiKey: process.env.OPENAI_API_KEY,
10 }); 10 });
11 const openai = new OpenAIApi(configuration); 11 const openai = new OpenAIApi(configuration);
12 12
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!