3.1.0
Added
- Amazon Polly as a Provider for the Text-to-Speech Feature (props @iamdharmesh, @jeffpaul, @dkotter via #734).
- OpenAI as a Provider for the Text-to-Speech Feature (props @Sidsector9, @iamdharmesh, @dkotter via #747).
- Azure OpenAI Embeddings as a Provider for the Classification Feature (props @iamdharmesh, @dkotter via #764).
- "Generate image" button to media upload components (props @Sidsector9, @jeffpaul, @dkotter via #749).
- Feature to refresh Content Resizing results without closing the results modal (props @Sidsector9, @jeffpaul, @faisal-alvi, @dkotter via #774).
- Filter hook
classifai_ms_computer_vision_scan_image_timeout
to increase image processing timeout (props @Sidsector9, @QAharshalkadu, @dkotter via #754). - New filter
classifai_feature_classification_pre_save_results
that allows you to filter the classification results before they're saved, either modifying those results or running custom save routines (props @dkotter, @iamdharmesh via #762). - New filters allowing the ability to change some of the OpenAI Embedding variables, like model or dimensions (props @dkotter, @iamdharmesh via #758).
- New filter
classifai_normalize_content_before_strip_all_tags
that allows you to filter the content before stripping all tags (props @CacheMeOwside, @dkotter via #775). - New filter
classifai_openai_embeddings_max_terms
to change the number of terms to process per job during Embeddings classification (props @Sidsector9, @dkotter via #779). - Higher timeout for Azure OpenAI Embedding requests (props @dkotter, @iamdharmesh via #776).
- "Testing" section in the
CONTRIBUTING.md
file (props @kmgalanakis, @jeffpaul via #763).
Changed
- Update from the
text-embedding-ada-002
to thetext-embedding-3-small
model for the OpenAI Embeddings Provider. Note this requires regenerating all existing embeddings for comparisons to work properly. Also worth mentioning you'll want to check your threshold settings to ensure that works well with these changes, as we're seeing lower threshold scores with this new model (props @dkotter, @iamdharmesh via #758). - When generating embeddings, ensure we chunk our content down and reduce our vector dimensions to 512 (props @dkotter, @iamdharmesh via #758).
- Increase the amount of terms we consider when running comparisons using the OpenAI Embeddings Provider from 500 to 5000 (props @dkotter, @iamdharmesh via #758).
- Allow the Embeddings Provider to be used by Features other than Classification (props @iamdharmesh, @dkotter via #766).
- Hide the Provider's configuration help text when the Provider is already configured (props @kmgalanakis, @Sidsector9, @dkotter via #770).
Select
label is changed toReplace
within Content Resizing suggestions modal (props @Sidsector9, @jeffpaul, @faisal-alvi, @dkotter via #774).- Content Resizing modal title is updated from static to dynamic depending on the type of resizing (props @Sidsector9, @jeffpaul, @faisal-alvi, @dkotter via #774).
- Add the ability to send chunked content in a single request to the Embedding API (props @dkotter, @iamdharmesh via #776).
- Embeddings classification now uses background processing to improve performance. This is done by including the Action Scheduler package (props @Sidsector9, @dkotter via #779).
- Bump WordPress "tested up to" version to 6.6 (props @qasumitbagthariya, @dkotter, @jeffpaul via #751).
- Replaced
lee-dohm/no-response
withactions/stale
to help with closing no-response/stale issues (props @jeffpaul, @dkotter via #751). - Update the
@10up/cypress-wp-utils
package to 0.3.0 (props @dkotter, @jeffpaul via #760).
Fixed
- Timeout issue with processing
.png
images of large file sizes (props @Sidsector9, @QAharshalkadu, @dkotter via #754). - Ensure the classification admin preview functionality loads for non built-in Providers (props @dkotter, @iamdharmesh via #762).
- Fix some undefined PHP variable warnings when running automatic classification (props @dkotter, @iamdharmesh via #758).
- Ensure the
Excerpt length
setting for the Excerpt Generation Feature can be changed (props @dkotter, @Sidsector9 via #767). - Strip off superscript and subscript tags in content for text to speech generation (props @CacheMeOwside, @Sidsector9, @dkotter via #775).
- Ensure we chunk content correctly, keeping each chunk roughly the same size (props @dkotter, @iamdharmesh via #776).
Security
- Bump
follow-redirects
from 1.15.5 to 1.15.6 andjsdoc
from 3.6.11 to 4.0.2 (props @dependabot[bot], @faisal-alvi, @dkotter via #750). - Bump
webpack-dev-middleware
from 5.3.3 to 5.3.4 andtaffydb
from 2.6.2 to 2.7.3 (props @dependabot[bot], @faisal-alvi via #752). - Bump
express
from 4.18.2 to 4.19.2 (props @dependabot[bot], @faisal-alvi via #753). - Bump
braces
from 3.0.2 to 3.0.3 andws
from 7.5.9 to 7.5.10 (props @dependabot[bot], @dkotter via #780).
New Contributors
- @CacheMeOwside made their first contribution in #775
Full Changelog: 3.0.1...3.1.0
View closed items in the milestone.