HeyGen-Official / InteractiveAvatarNextJSDemo

MIT License
87 stars 92 forks source link

OpenAI key #28

Open jayclarke-lextech opened 1 month ago

jayclarke-lextech commented 1 month ago

I have successfully deployed the app locally. I have been able to hit a custom knowledge through the interface but can't hit OpenAI as best as I can tell. OpenAI has user API keys, which are going away at some point and then project API keys which are where they are going. I have tried the different keys and they are saying they have never been used in the OpenAI system.

I have a few questions.

  1. How can I test to make sure the OpenAI key is being used?
  2. Should I be using the OpenAI user key or project key?
  3. Are there any other updates, outside of the .env file, that need to be done to hit OpenAI?
  4. Do I provide the same value for OPENAI_API_KEY and NEXT_PUBLIC_OPENAI_API_KEY?

Thanks, Jay

Norton8607 commented 2 weeks ago

I have the same problem, have you been able to solve it??? Can someone help us????