This module integrates Drupal's Search API with OpenAI's Vector Store API to provide semantic search capabilities, allowing users to search content based on meaning rather than just keywords. It offloads the complexities of document chunking, embedding, and storage to OpenAI, making it easy to implement AI-powered search without managing separate vector database infrastructure.
NOTE: this module is under heavy development and is not production ready (yet).
The AI Search OpenAI Vector Store Provider module integrates OpenAI's Vector Store API with Drupal's Search API, enabling semantic search powered by OpenAI's embedding and retrieval infrastructure. Instead of managing your own vector database, this module lets OpenAI handle document chunking, embedding generation, and vector storage — you simply upload content and search with natural language queries.
Features
Core Functionality
- Provides an OpenAI Vector Store backend for the AI Search module
- Automatically indexes Search API content to OpenAI's hosted vector storage
- Enables semantic (meaning-based) search rather than just keyword matching
- No embedding API calls required — OpenAI handles vectorization server-side
Search API Integration
- Works with standard Search API Views — no custom display code needed
- Supports Views exposed filters on fields configured as "Filterable Attributes"
- Respects Drupal entity access permissions at search time
- Swappable with other AI Search backends (Milvus, Pinecone) without changing your Views
Content Configuration
- Uses AI Search's field categorization: Main Content, Contextual Content, and Filterable Attributes
- Main Content and Contextual Content are indexed for semantic search
- Filterable Attributes (up to 16) enable Views filters by content type, taxonomy, date, etc.
When to Use This Module
- You want semantic/AI-powered search without managing vector database infrastructure
- You're building a conversational search or RAG (Retrieval Augmented Generation) feature
- You already use OpenAI and want to consolidate your AI services
- You need a search backend that understands meaning, not just keywords
Known Limitations
- Facets with counts are not supported (OpenAI doesn't return aggregations)
- Results are sorted by relevance only — no custom field sorting
- Maximum 16 filterable attributes per indexed item
- Requires an OpenAI API key with Vector Store access