964c82c9 by RSA

fix

1 parent 33b89a1e
......@@ -10,8 +10,8 @@ Create an .env file in the root directory of your application.
Duplicate the env-template and rename to .env
In the .env file, define the environment variables you want to use in your application. ex.
`API_KEY="sk-xxxxxxxx"`
`API_ORG="org-xxxxxxx"`
`OPENAI_API_KEY="sk-xxxxxxxx"`
`OPENAI_API_ORG="org-xxxxxxx"`
## Run server
......
......@@ -60,7 +60,7 @@ function App() {
});
const data = await response.json();
const parsedData = data.message.trim();
console.log(parsedData)
// console.log(parsedData)
const programmingKeywords = ['code', 'application', 'controller', 'rails' , 'PHP', 'java', 'javascript', 'script', 'console', 'python', 'programming', 'table'];
const regex = new RegExp(`\\b(${programmingKeywords.join('|')})\\b`, 'gi');
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!