Opensearch NLP
This module enhances Drupal's search with AI-powered capabilities using OpenSearch's Natural Language Processing (NLP) features. It enables semantic, hybrid, and vector-based search, allowing users to find content by meaning rather than just keywords. The module also supports managing machine learning models and integrating with external embedding providers.
**OpenSearch NLP** extends Drupalโs Search API by adding **Natural Language Processing (NLP)** and **semantic search** capabilities through OpenSearch.
This module integrates with `search_api` and `search_api_opensearch` to bring **AI-powered** search experiences โ including **semantic**, **hybrid**, and **vector-based** retrieval โ directly into your Drupal site. It leverages OpenSearch ML Commons for model management and supports both local and external ML models (such as OpenAI embeddings).
### Key Features
* ๐ **Semantic Search** โ Search by meaning, not just keywords
* โ๏ธ **Hybrid Search** โ Combine keyword and semantic scoring
* ๐ง **ML Model Management** โ Manage and deploy models in OpenSearch
* ๐พ **Semantic Caching** โ Cache queries based on similarity
* ๐ **External Model Integration** โ Use OpenAI or other embedding providers
### Requirements
* Drupal 10 or 11
* `search_api` and `search_api_opensearch` modules
* OpenSearch 2.19 with ML Commons plugin
* PHP 8.1+
### Setup & Documentation
Full setup and configuration instructions are available in the moduleโs **[README.md](./README.md)** file.
Please refer to it for installation, patch application, and NLP pipeline configuration steps.
---
Enhance your Drupal search experience with **OpenSearch NLP** โ bringing semantic understanding, intelligent ranking, and ML-based relevance to your content search.