Raymond Gao
Raymond Gao
Actually, the only working solution is the following: - Edit the front/.env file - Change the VUE_APP_DOMAIN_DEV=[your desired domain] instead of the [localhost] - Rebuild the frontend: $ docker-compose build...
Never mind. I got it working. You can close the ticket now. The following does work. const chatCompletion = await openAI.createChatCompletion({ model: "gpt-3.5-turbo", messages: [ { "role": "system", "content": "You...
Another queestion, I have a web front end calling a REST function that uses the _openAI.createChatCompletion(_); But, it is not blocking. as a result, I get an error - TypeError:...
Yes. I have a repo. https://github.com/raygao/uxig In the /api/genStory/index.tsx, I call the genStory(body), which calls the openai.CreateChatCompletion( ...) And, this is where I am having difficulties.  
Also, the frontend.  
Thanks a lot for the help. That hint solved the red squiggly line under the POST method. However, the browser still has a Validation issue. see screenshots. As soon as...
Amazing how fast, you guys respond! Much appreciate for the help. Actually, the solution is even simpler. I googled just now, after struggling it for 1 full day. When I...
Please find the result running app at: https://comfortable-hawk-99.deno.dev/ Thanks a lot for your support. Appreciate it.