Dunridge / cloudforge-app

Cloudforge test task
0 stars 0 forks source link

Add ML. Sign up for OpenAI #11

Closed Dunridge closed 3 months ago

Dunridge commented 3 months ago

feature/add-ai

Sign up for OpenAI and install the OpenAI SDK

Models -- Image

https://openai.com/api/

Tutorial -- https://platform.openai.com/docs/quickstart?context=node

Steps:

  1. Create API key -- https://platform.openai.com/api-keys
  2. npm install --save openai
  3. Set up API key
Dunridge commented 3 months ago

Fix the bug with the insufficient_quota for the model in the API settings for the model

  1. https://stackoverflow.com/questions/77583825/openai-error-at-run-failed-you-exceeded-your-current-quota-please-check-your-p?rq=2