Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
62.41 KB
MD5: d094141360ae8b09239f907d91e55ff9
SHA-1: cd07f6eb9b018e0659341c024c90794438f3b77d
SHA-256: 6dd2eb6f7ea4fcd28aec73e8d58dfaec7afca473f06cedbc665fe3f0016f0664
Download zip
96.36 KB
MD5: dfeab6413a0d14d36c7ad66b2271ae50
SHA-1: 23c1df2ed82f0935779b38bae68ab27dbeda1d77
SHA-256: 9ae7bfb38aca09fbf9aba906293f472ff6360cf46b127ee7f14037b82920f025
Release notes
Related content now keeps showing the last known results when the vector database or embeddings provider is unavailable.
Upgrade notes
- Run database updates.
- Each node fetches fresh related content once on its next view after updating.
- Constructor change:
AIRelatedContentNodeFilter,CreateAiRelatedContentandAiRelatedContentHookstake a newStoredResultsargument.
Changes
- #3576588: Keep the last known related content per node, and serve it when fresh results cannot be fetched.
- On by default: the last results per node are stored in a small table and shown if a fetch fails. A warning is logged at most once an hour.
- Failed fetches are no longer cached as empty results.
- The node's vector is no longer looked up when results are already cached.
- Opt-in: the filter's new "Days to reuse stored results" setting avoids vector database calls after a cache rebuild or deploy.
- Clear stored results with
drush ai-related-content:clear-stored-resultsor the button on the setup page.