AI Search for WordPress enhances the search experience by:
– Replacing the default WordPress search with an AI-powered intelligent search system.
– Generating embeddings for posts using OpenAI』s text-embedding-3-small model via an external Node.js service (Open AI account isn』t necessary).
– Managing embeddings centrally with per-origin quota control.
– Caching results locally using WordPress transients.
– Ranking posts based on similarity using cosine similarity metrics.
Features
- Intelligent Search: AI-powered context inference.
- Remote Embedding Service: Embeddings stored in a central MySQL database through a Node.js API.
- Admin Settings: Manage global token and service URL.
- Bulk Embedding Generation: Generate embeddings for multiple posts or custom post types.
- Cache Management: Clear embedding cache and post meta embeddings.
- Enhanced Similarity Control: Fine-tuned similarity threshold with 3-decimal precision.
- Caching: Local transient caching.
Usage
- Simply use the default WordPress search, and AI Search will enhance it.
- Manage your OpenAI API key and plugin settings via the Settings > AI Search menu.
External Service
This plugin connects with:
- OpenAI Embeddings API: https://platform.openai.com/docs/guides/embeddings
- Custom Node.js Embedding Service
Please read more here:
https://platform.openai.com/docs/guides/embeddings






