This module leverages the AI Search sub-module of the AI module to find related content. This is sometimes referred to as content recommendations or suggested content.
Features
This module provides a Views Block that allows the site builder to configure the content used to do the automated search in the AI Search (Vector database) and suggest related content.
The View itself is editable to control things like:
- How many related content items to show
- What View Mode to show related content in
- How should the related content be cached*
* This should not be underestimated, leveraging LLMs to do a vector search has a cost, caching the related content is important to avoid Denial of Wallet (DOW) attacks.
Post-Installation
- Configure the AI Search sub-module with a Search API Vector Database. Read the docs on that here.
- Go to /admin/config/ai/ai-related-content-setup to install the AI Related Content View with your Search API Vector Database of choice.
- Optionally modify your desired View Mode (defaults to Teaser)
- Optionally modify your caching (defaults to time based)
- Configure the AI Related Content block to use a non-default View Mode to curate the portion of the contents used to search for related content, or use Twig Tweak using the snippets shown in the setup form.
Similar projects
AI Based Recommendations uses OpenAI module instead AI so is locked in to that. It also does not leverage Views and so does not provide the flexibility about how related content is display and how it is cached (see note above on importance of caching).