Excerpt 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 key
and copy the key that is shown.
2. Configure OpenAI API Keys under Tools > ClassifAI > Language Processing > Excerpt Generation > Settings
- Select OpenAI ChatGPT in the provider dropdown.
- Enter your API Key copied from the above step into the
API Key
field.
3. Enable Excerpt 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 that supports excerpts.
- Ensure this item has content saved.
- Open the Excerpt panel in the sidebar and click on
Generate Excerpt
.
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 Endpoint
in the left hand Resource Management menu to get the endpoint for this resource. - Click the copy icon next to
KEY 1
to 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 URL
field. - Enter your API Key copied from the above step into the
API key
field. - Enter your deployment name copied from the above step into the
Deployment name
field.
3. Enable Excerpt 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 that supports excerpts.
- Ensure this item has content saved.
- Open the Excerpt panel in the sidebar and click on
Generate Excerpt
.
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 key
and 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 Key
field.
3. Enable Excerpt 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 that supports excerpts.
- Ensure this item has content saved.
- Open the Excerpt panel in the sidebar and click on
Generate Excerpt
.