Documentation
AI [PRO]

AI [PRO]

For AI integration, 2 great packages are used

The corresponding package is located at packages/ai.

OpenAI Setup

  1. You need to create an account on OpenAI platform (opens in a new tab).

  2. Go to API keys in the sidebar and create a new API key. Copy it and paste into the .env file.

OPENAI_API_KEY=

Note that you need to buy credits before you can start prompting ChatGPT, otherwise the OpenAI API will fail with the error. You can buy credits by going to Settings > Billing in the sidebar.

  1. The chat with AI playground is available at http://localhost:3000/ai. Feel free to tweak it to accomodate to your needs.

webappboost/ai playground