Supercharge WordPress Content Workflows and Engagement with Artificial Intelligence.
You can learn more about ClassifAI's features at ClassifAIPlugin.com and documentation at the ClassifAI documentation site.
- Overview
- Features
- Requirements
- Pricing
- Installation
- Register ClassifAI account
- Set Up IBM Watson NLU Language Processing
- Set Up OpenAI ChatGPT Language Processing
- Set Up OpenAI Embeddings Language Processing
- Set Up OpenAI Whisper Language Processing
- Set Up Azure AI Language Processing
- Set Up Azure AI Vision Image Processing
- Set Up OpenAI DALL·E Image Processing
- Set Up OpenAI Moderation Language Processing
- Set Up Azure AI Personalizer Recommended Content
- WP CLI Commands
- FAQs
- Support
- Changelog
- Contributing
Tap into leading cloud-based services like OpenAI, Microsoft Azure AI, and IBM Watson to augment your WordPress-powered websites. Publish content faster while improving SEO performance and increasing audience engagement. ClassifAI integrates Artificial Intelligence and Machine Learning technologies to lighten your workload and eliminate tedious tasks, giving you more time to create original content that matters.
- Generate a summary of post content and store it as an excerpt using OpenAI's ChatGPT API
- Generate titles from post content using OpenAI's ChatGPT API
- Expand or condense text content using OpenAI's ChatGPT API
- Generate new images on demand to use in-content or as a featured image using OpenAI's DALL·E API
- Generate transcripts of audio files using OpenAI's Whisper API
- Moderate incoming comments for sensitive content using OpenAI's Moderation API
- Convert text content into audio and output a "read-to-me" feature on the front-end to play this audio using Microsoft Azure's Text to Speech API
- Classify post content using IBM Watson's Natural Language Understanding API and OpenAI's Embedding API
- BETA: Recommend content based on overall site traffic via Microsoft Azure's AI Personalizer API (note that we're gathering feedback on this feature and may significantly iterate depending on community input)
- Generate image alt text, image tags, and smartly crop images using Microsoft Azure's AI Vision API
- Scan images and PDF files for embedded text and save for use in post meta using Microsoft Azure's AI Vision API
- Bulk classify content with WP-CLI
Tagging | Recommended Content | Excerpt Generation | Comment Moderation |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Audio Transcripts | Title Generation | Expand or Condense Text | Text to Speech |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Alt Text | Smart Cropping | Tagging | Generate Images |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
- PHP 7.4+
- WordPress 5.7+
- To utilize the NLU Language Processing functionality, you will need an active IBM Watson account.
- To utilize the ChatGPT, Embeddings, or Whisper Language Processing functionality or DALL·E Image Processing functionality, you will need an active OpenAI account.
- To utilize the Azure AI Vision Image Processing functionality or Text to Speech Language Processing functionality, you will need an active Microsoft Azure account.
Note that there is no cost to using ClassifAI itself. Both IBM Watson and Microsoft Azure have free plans for their AI services, but above those free plans there are paid levels as well. So if you expect to process a high volume of content, then you'll want to review the pricing plans for these services to understand if you'll incur any costs. For the most part, both services' free plans are quite generous and should at least allow for testing ClassifAI to better understand its featureset and could at best allow for totally free usage. OpenAI has a limited trial option that can be used for testing but will require a valid paid plan after that.
The service that powers ClassifAI's NLU Language Processing, IBM Watson's Natural Language Understanding ("NLU"), has a "lite" pricing tier that offers 30,000 free NLU items per month.
The service that powers ClassifAI's ChatGPT, Embeddings and Whisper Language Processing and DALL·E Image Processing, OpenAI, has a limited free trial and then requires a pay per usage plan.
The service that powers ClassifAI's Azure AI Vision Image Processing, Microsoft Azure, has a "free" pricing tier that offers 20 transactions per minute and 5,000 transactions per month.
The service that powers ClassifAI's Text to Speech Language Processing, Microsoft Azure, has a "free" pricing tier that offers 0.5 million characters per month.
The service that powers ClassifAI's Recommended Content, Microsoft Azure AI Personalizer, has a "free" pricing tier that offers 50,000 transactions per month.
git clone https://github.com/10up/classifai.git && cd classifai
composer install && npm install && npm run build
ClassifAI releases can be installed via Composer.
Instruct Composer to install ClassifAI into the plugins directory by adding or modifying the "extra" section of your project's composer.json file to match the following:
"extra": {
"installer-paths": {
"plugins/{$name}": [
"type:wordpress-plugin"
]
}
}
Add this repository to composer.json, specifying a release version, as shown below:
"repositories": [
{
"type": "package",
"package": {
"name": "10up/classifai",
"version": "2.0.0",
"type": "wordpress-plugin",
"dist": {
"url": "https://github.com/10up/classifai/archive/refs/tags/2.0.0.zip",
"type": "zip"
}
}
}
]
Finally, require the plugin, using the version number you specified in the previous step:
"require": {
"10up/classifai": "2.0.0"
}
After you run composer update
, ClassifAI will be installed in the plugins directory with no build steps needed.
ClassifAI is a sophisticated solution that we want organizations of all shapes and sizes to count on. To keep adopters apprised of major updates and beta testing opportunities, gather feedback, support auto updates, and prioritize common use cases, we're asking for a little bit of information in exchange for a free key. Your information will be kept confidential.
- Register for a free ClassifAI account here.
- Check for an email from
ClassifAI Team
which contains the registration key. - Note that the email will be sent from
[email protected]
, so please whitelist this email address if needed.
- In the
Registered Email
field, enter the email you used for registration. - In the
Registration Key
field, enter the registration key from the email in step 1 above.
- Register for an IBM Cloud account or sign into your existing one.
- Check for an email from
IBM Cloud
and click theConfirm Account
link. - Log into your account (accepting the privacy policy) and create a new Natural Language Understanding Resource if you do not already have one. It may take a minute for your account to fully populate with the default resource group to use.
- Click
Manage
in the left hand menu, thenShow credentials
on the Manage page to view the credentials for this resource.
The credentials screen will show either an API key or a username/password combination.
- In the
API URL
field enter the URL - Enter your API Key in the
API Key
field.
- In the
API URL
field enter the URL - Enter the
username
value into theAPI Username
. - Enter the
password
into theAPI Key
field.
IBM Watson endpoint urls with watsonplatform.net
were deprecated on 26 May 2021. The pattern for the new endpoint URLs is api.{location}.{offering}.watson.cloud.ibm.com
. For example, Watson's NLU service offering endpoint will be like: api.{location}.natural-language-understanding.watson.cloud.ibm.com
For more information, see https://cloud.ibm.com/docs/watson?topic=watson-endpoint-change.
IBM Watson's Categories, Keywords, Concepts & Entities can each be stored in existing WordPress taxonomies or a custom Watson taxonomy.
3. Configure Post Types to classify and IBM Watson Features to enable under ClassifAI > Language Processing > IBM Watson
- Choose which public post types to classify when saved.
- Choose whether to assign category, keyword, entity, and concept as well as the thresholds and taxonomies used for each.
- 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.
- Enter your API Key copied from the above step into the
API Key
field.
- Choose to add the ability to generate excerpts.
- Choose to add the ability to generate titles.
- Choose to add the ability to resize content.
- Set the other options as needed.
- Save changes and ensure a success message is shown. An error will show if API authentication fails.
- To test excerpt generation, edit (or create) an item that supports excerpts. Note: only the block editor is supported.
- Ensure this item has content saved.
- Open the Excerpt panel in the sidebar and click on
Generate Excerpt
. - To test title generation, edit (or create) an item that supports titles.
- Ensure this item has content saved.
- Open the Summary panel in the sidebar and click on
Generate titles
. - To test content resizing, edit (or create) an item. Note: only the block editor is supported.
- Add a paragraph block with some content.
- With this block selected, select the AI icon in the toolbar and choose to either expand or condense the text.
- In the modal that pops up, select one of the options.
- 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.
- Enter your API Key copied from the above step into the
API Key
field.
- Choose to automatically classify content.
- Set the other options as needed.
- Save changes and ensure a success message is shown. An error will show if API authentication fails.
- Create one or more terms within the taxonomy (or taxonomies) chosen in settings.
- Create a new piece of content that matches the post type and post status chosen in settings.
- Open the taxonomy panel in the sidebar and see terms that were auto-applied.
Note that OpenAI can create a transcript for audio files that meet the following requirements:
- The file must be presented in mp3, mp4, mpeg, mpga, m4a, wav, or webm format
- The file size must be less than 25 megabytes (MB)
- 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.
- Enter your API Key copied from the above step into the
API Key
field.
- Choose to enable the ability to automatically generate transcripts from supported audio files.
- Choose which user roles have access to this ability.
- Save changes and ensure a success message is shown. An error will show if API authentication fails.
- Upload a new audio file.
- Check to make sure the transcript was stored in the Description field.
- Register for a Microsoft Azure account or sign into your existing one.
- Log into your account and create a new Speech Service if you do not already have one. It may take a minute for your account to fully populate with the default resource group to use.
- Click
Keys and Endpoint
in the left hand Resource Management menu to view theLocation/Region
for this resource. - Click the copy icon next to
KEY 1
to copy the API Key credential for this resource.
2. Configure Microsoft Azure API and Key under Tools > ClassifAI > Language Processing > Microsoft Azure
- In the
Endpoint URL
field, enter the following URL, replacingLOCATION
with theLocation/Region
you found above:https://LOCATION.tts.speech.microsoft.com/
. - In the
API Key
field, enter yourKEY 1
copied from above. - Click Save Changes (the page will reload).
- If connected successfully, a new dropdown with the label "Voices" will be displayed.
- Select a voice as per your choice.
- Select a post type that should use this service.
- Assuming the post type selected is "post", create a new post and publish it.
- After a few seconds, a "Preview" button will appear under the ClassifAI settings panel.
- Click the button to preview the generated speech audio for the post.
- View the post on the front-end and see a read-to-me feature has been added
Note that Azure AI Vision can analyze and crop images that meet the following requirements:
- The image must be presented in JPEG, PNG, GIF, or BMP format
- The file size of the image must be less than 4 megabytes (MB)
- The dimensions of the image must be greater than 50 x 50 pixels
- The file must be externally accessible via URL (i.e. local sites and setups that block direct file access will not work out of the box)
- Register for a Microsoft Azure account or sign into your existing one.
- Log into your account and create a new Azure AI Vision Service if you do not already have one. It may take a minute for your account to fully populate with the default resource group to use.
- Click
Keys and Endpoint
in the left hand Resource Management menu to view theEndpoint
URL for this resource. - Click the copy icon next to
KEY 1
to copy the API Key credential for this resource.
- In the
Endpoint URL
field, enter yourAPI endpoint
. - In the
API Key
field, enter yourKEY 1
.
- Choose to
Generate descriptive text
,Tag images
,Enable smart cropping
, and/orScan image or PDF for text
. - For features that have thresholds or taxonomy settings, set those as well.
- Image tagging uses Azure's Describe Image
- 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.
- Enter your API Key copied from the above step into the
API Key
field.
- Choose to add the ability to generate images.
- If image generation is configured, set the other options as needed.
- Save changes and ensure a success message is shown. An error will show if API authentication fails.
- Create a new content item
- Insert an Image block or choose to add a featured image and choose a new item from the Media Library
- In the media modal that opens, click on the
Generate image
tab - Enter in a prompt to generate an image
- Once images are generated, choose one or more images to import into your media library
- Choose one image to insert into the content
- 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.
- Enter your API Key copied from the above step into the
API Key
field.
- Select the "Enable" checkbox in above screen.
- Select "Comments" in the "Content to moderate" section.
Note that Personalizer requires sufficient data volume to enable Personalizer to learn. In general, we recommend a minimum of ~1,000 events per day to ensure Personalizer learns effectively. If Personalizer doesn't receive sufficient data, the service takes longer to determine the best actions.
- Register for a Microsoft Azure account or sign into your existing one.
- Log into your account and create a new Personalizer resource.
- Enter your service name, select a subscription, location, pricing tier, and resource group.
- Select Create to create the resource.
- After your resource has deployed, select the Go to Resource button to go to your Personalizer resource.
- Click
Keys and Endpoint
in the left hand Resource Management menu to view theEndpoint
URL for this resource. - Click the copy icon next to
KEY 1
to copy the API Key credential for this resource.
For more information, see https://docs.microsoft.com/en-us/azure/cognitive-services/personalizer/how-to-create-resource
- In the
Endpoint URL
field, enter yourEndpoint
URL from Step 1 above. - In the
API Key
field, enter yourKEY 1
from Step 1 above.
- Check out the ClassifAI docs.
ClassifAI connects your WordPress site directly to your account with specific service provider(s) (e.g. Microsoft Azure AI, IBM Watson, OpenAI), so no data is gathered by 10up. The data gathered in our registration form is used simply to stay in touch with users so we can provide product updates and news. More information is available in the Privacy Policy on ClassifAIplugin.com.
What are the Categories, Keywords, Concepts, and Entities within the NLU Language Processing feature?
Categories are five levels of hierarchies that IBM Watson can identify from your text. Keywords are specific terms from your text that IBM Watson is able to identify. Concepts are high-level concepts that are not necessarily directly referenced in your text. Entities are people, companies, locations, and classifications that are made by IBM Watson from your text.
Whatever options you have selected in the Category, Keyword, Entity, and Concept taxonomy dropdowns in the NLU Language Processing settings can be viewed within Classic Editor metaboxes and the Block Editor side panel. They can also be viewed in the All Posts and All Pages table list views by utilizing the Screen Options to enable those columns if they're not already appearing in your table list view.
We recommend that you are transparent with your users that AI tools are being used. This can be done by adding a notice to your site's Privacy Policy or similar page. Sample copy is provided below:
This site makes use of Artificial Intelligence tools to help with tasks like language processing, image processing, and content recommendations.
When a post is sent to OpenAI (e.g. to generate a title or excerpt), is the post content fed into OpenAI and used for other customers?
According to OpenAI, they do not train their models on any data that is sent via API requests (see https://openai.com/enterprise-privacy). OpenAI may keep the data for up to 30 days to identify abuse, though you can request zero data retention (ZDR) with a qualifying use-case.
Active: 10up is actively working on this, and we expect to continue work for the foreseeable future including keeping tested up to the most recent version of WordPress. Bug reports, feature requests, questions, and pull requests are welcome.
A complete listing of all notable changes to ClassifAI are documented in CHANGELOG.md.
Please read CODE_OF_CONDUCT.md for details on our code of conduct, CONTRIBUTING.md for details on the process for submitting pull requests to us, and CREDITS.md for a listing of maintainers, contributors, and libraries for ClassifAI.