Llm Enhanced Search
LLM Enhanced Search improves Drupal Search API by using a Large Language Model (LLM) to match natural-language searches with terms from a configured taxonomy vocabulary.
Use this module when your site uses controlled taxonomy terms, but users may search using synonyms, descriptions, or everyday language instead of the exact terminology.
For example, a user searching for portable computer can have the taxonomy term Laptop automatically added to their Search API query.
Features
- Enhances Search API queries using an LLM.
- Maps natural-language searches to terms from a configurable taxonomy vocabulary.
- Validates LLM results against the configured vocabulary before adding them.
- Avoids adding terms already present in the user's query.
- Preserves other exposed filters from the Search API View.
- Leaves the original query unchanged when no valid term is identified.
Additional Requirements
- Search API
- A Search API-powered View with an exposed full-text search filter
- A configured Drupal taxonomy vocabulary
- A supported and configured LLM service
Post-Installation
Please read the README.txt for configuration steps
How It Works
The module acts as a query-enhancement layer:
User query => LLM => validated taxonomy term => enhanced Search API query => Search API results
The LLM response is validated against the configured vocabulary, so only valid taxonomy terms can be added to the search query.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.x-dev | Dev | 11 | Sep 17, 2026 |