Content Generation
Set Up via OpenAI ChatGPT
1. Sign up for OpenAI
- Sign up for an OpenAI account or sign into your existing one.
- If creating a new account, complete the verification process (requires confirming your email and phone number).
- Log into your account and go to the API key page.
- Click Create new secret keyand copy the key that is shown.
2. Configure OpenAI API Keys under Tools > ClassifAI > Language Processing > Content Generation > Settings
- Select OpenAI ChatGPT in the provider dropdown.
- Enter your API Key copied from the above step into the API Keyfield.
3. Enable Content Generation
- Turn on the "Enable" toggle in the screen above.
- Set the other options as needed.
- Save settings. An error will show if API authentication fails.
4. Test feature
- Edit (or create) an item. Note: only the block editor is supported.
- A sparkle icon will show in the bottom right corner in the block editor. Click on this to start the generation process.
Set Up via Azure OpenAI
1. Sign up for Azure services
- Register for a Microsoft Azure account or sign into your existing one.
- Request access to Azure OpenAI, if not already granted.
- Log into your account and create a new Azure OpenAI resource if you do not already have one.
- Copy the name you chose for the deployment when deploying the resource in the previous step.
- Click Keys and Endpointin the left hand Resource Management menu to get the endpoint for this resource.
- Click the copy icon next to KEY 1to copy the API Key credential for this resource.
2. Configure API Keys under Tools > ClassifAI > Language Processing > Title Generation > Settings
- Select Azure OpenAI in the provider dropdown.
- Enter your endpoint you copied from the above step into the Endpoint URLfield.
- Enter your API Key copied from the above step into the API keyfield.
- Enter your deployment name copied from the above step into the Deployment namefield.
3. Enable Content Generation
- Turn on the "Enable" toggle in the screen above.
- Set the other options as needed.
- Save settings. An error will show if API authentication fails.
4. Test feature
- Edit (or create) an item. Note: only the block editor is supported.
- A sparkle icon will show in the bottom right corner in the block editor. Click on this to start the generation process.
Set Up via Google AI (Gemini API)
1. Sign up for Google AI
- Sign up for a Google account or sign into your existing one.
- Go to Google AI Gemini website and click on the Get API key button or go to the API key page directly.
- Note that if this page doesn't work, it's likely that Gemini is not enabled in your workspace. Contact your workspace administrator to get this enabled.
- Click Create API keyand copy the key that is shown.
2. Configure API Keys under Tools > ClassifAI > Language Processing > Title Generation, Excerpt Generation or Content Resizing > Settings
- Select Google AI (Gemini API) in the provider dropdown.
- Enter your API Key copied from the above step into the API Keyfield.
3. Enable Content Generation
- Turn on the "Enable" toggle in the screen above.
- Set the other options as needed.
- Save settings. An error will show if API authentication fails.
4. Test feature
- Edit (or create) an item. Note: only the block editor is supported.
- A sparkle icon will show in the bottom right corner in the block editor. Click on this to start the generation process.