AI Search

Descriere

AI Search for WordPress enhances the search experience by replacing the default WordPress search with an AI-powered semantic search system. Perfect for WooCommerce stores, online shops, and any WordPress site that needs intelligent product search and content discovery.

Key Features

  • AI-Powered Semantic Search: Understands user intent and context, not just keywords
  • WooCommerce & eCommerce Ready: Fully compatible with WooCommerce product search, including SKUs, categories, tags, and attributes
  • Product Search Enhancement: Search products by description, features, and related concepts
  • Custom Post Type Support: Works with any custom post type (products, portfolios, directories)
  • No OpenAI Account Required: Uses our free embedding service (up to 10,000 embeddings per site)
  • Bring Your Own API Key: Optionally use your own OpenAI API key for unlimited usage
  • Smart Fallback System: 4-tier fallback ensures users always get results
  • Bulk Embedding Generation: Process multiple posts/products at once
  • Advanced Threshold Control: Fine-tune search accuracy with precision controls
  • ACF Compatible: Index Advanced Custom Fields data for deeper search
  • Caching System: Fast results with intelligent local caching
  • Search Analytics: Track queries, clicks, and user behavior (v1.10.0+)

Perfect For

  • WooCommerce stores with large product catalogs
  • Online marketplaces and eCommerce sites
  • Membership sites with extensive content
  • Directory and listing websites
  • Knowledge bases and documentation sites
  • Any WordPress site needing better search

How It Works

  1. Plugin generates embeddings for your content using OpenAI’s text-embedding-3-small model
  2. User searches are converted to embeddings
  3. AI matches search queries with content using semantic similarity
  4. Results are ranked by relevance, not just keyword matching
  5. Users find what they’re looking for, even with different wording

Learn More

Visit our website for documentation, demos, and examples:
https://wp-search.ai/

Browse technical documentation, see live demos of the plugin in action, and learn best practices for AI-powered search.

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

Instalare

  1. Install and Activate the plugin through the ‘Plugins’ menu in WordPress.
  2. Go to Settings > AI Search and configure what you need.
  3. Run Bulk Embedding Generation via admin panel (the current posts have to be regenerated).

Întrebări frecvente

What is required to use AI Search for WordPress?

If you want to use the service we provide: nothing. If you want to use your own Open AI key, you’ll need that.

How does this plugin work?

The plugin uses OpenAI’s text-embedding-3-small model to generate embeddings for your content. When users search, it matches the query embedding with post embeddings in the database for more relevant results.

What happens if the OpenAI API fails?

The plugin handles API errors by logging them and reverting to the default search query.

Recenzii

18 iunie 2025
Installed, added my OpenAI key, and it just worked. Search results are way more relevant than the default WordPress search. It actually understands what people are trying to find, even if the keywords don’t match exactly.
18 iunie 2025
This plugin adds a huge boost to WordPress’ default search functionality. If you want AI search without writing a line of code, this is hands down the best solution I’ve found.
12 iunie 2025 1 răspuns
I’ve found this plugin and I must say, it’s awesome. The AI search results feel a lot more relevant.Setup was super simple, just added my OpenAI API key and it worked right out of the box. No complicated settings or code needed. It’s a great tool if you want to give your visitors a better experience and make it easier for them to find what they need.Definitely recommend it! PS: Is there a plan to integrate Gemini as well? Thank you
Citește toate cele 4 recenzii

Contributori și dezvoltatori

„AI Search” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

Tradu „AI Search” în limba ta.

Te interesează dezvoltarea?

Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.

Istoric modificări

1.11.0

  • Percentage-Based Threshold Display: Similarity threshold now displays as percentage (20-100%) instead of decimal (0.2-1.0) for easier understanding
  • Public Badge Visibility Option: New admin setting to show AI Search badge to all visitors, not just editors/admins
  • Removed Analytics Feature: Simplified plugin by removing search analytics dashboard and tracking
  • Enhanced WooCommerce Documentation: Improved readme with eCommerce-specific keywords and use cases
  • Visual Improvements: Redesigned similarity threshold section with prominent visual indicators
  • No Emoji Policy: Removed all emojis from admin interface for professional appearance
  • Website Launch: Added link to https://wp-search.ai for documentation and demos

1.10.1

  • AI Search Result Badge: Visual badge displayed on search results powered by AI
    • Shows „AI Search Result” label with plugin icon
    • Only visible to editors and administrators
    • Tooltip explains visibility restriction
  • Similarity CSS Classes: Added CSS classes to search result posts
    • ai-search-result class for AI-powered results
    • ai-search-similarity-{0-100} class with exact similarity percentage
    • ai-search-match class when result meets configured threshold
    • ai-search-fallback class for non-AI fallback results
  • Removed Frontend Notices: Removed the intrusive search feedback notices that were shown to all users
  • Developer Enhancement: Similarity scores accessible via static properties for theme customization

1.10.0

  • Search Analytics Dashboard: Track and analyze search behavior
    • Log all search queries with result counts
    • Click-through tracking on search results
    • Popular queries and zero-result analysis
    • Time-based statistics and trends
    • CSV export functionality
  • „Did You Mean?” Spelling Suggestions: Intelligent spelling correction
    • Vocabulary built from post titles and taxonomies
    • Levenshtein distance-based word matching
    • Cached suggestions for performance
  • Search Term Highlighting: Visual feedback in search results
    • Highlights matching terms in titles and excerpts
    • Customizable highlight colors via filters
    • Dark mode support

1.9.2

  • Version Consistency: Fixed version mismatch between plugin header and internal constants
  • Internationalization Ready: Added text-domain ‘ai-search’ and domain path for translation support
  • Documentation Fix: Corrected similarity threshold range documentation (0.2-1.0)
  • Developer Filter: Added ai_search_searchable_post_types filter to customize which post types are searchable

1.9.0

  • Enhanced Fallback Search System: Introduced intelligent 4-tier fallback mechanism for zero-result searches:
    • WordPress default search fallback with result count display
    • Broader semantic search with relaxed similarity thresholds
    • Unprocessed content search for posts without embeddings
    • Smart query suggestion system for completely failed searches
  • User Feedback Notifications: Real-time search feedback system with dismissible notices:
    • Visual indicators showing which fallback method was used
    • Search result counts for transparency
    • Automatic cleanup of feedback transients
    • Contextual messaging for different search scenarios
  • Interactive Threshold Demo: Professional threshold demonstration interface:
    • Real-time product similarity visualization
    • Sample clothing store dataset with summer search scenario
    • Dynamic filtering based on threshold adjustments
    • Performance indicators showing recall rates and precision levels
    • Color-coded similarity scores and visual feedback
  • Token Validation System: Comprehensive service token management:
    • One-click token validation with detailed usage statistics
    • Real-time quota monitoring (daily/total limits)
    • Client information display including origin verification
    • Error handling for invalid or expired tokens
  • Setup Wizard Enhancement: Improved first-time user experience:
    • Step-by-step configuration process
    • Provider comparison with clear recommendations
    • Visual progress indicators and smooth transitions
    • Comprehensive completion flow

1.8.0

  • Service Token Management: Added manual service token field in General Settings for better control and transparency
  • Token Validation System: New „Validate Token” button with real-time validation and detailed usage statistics
  • Enhanced Admin Interface: Service token field automatically shows/hides based on provider selection
  • Comprehensive Validation Results: Displays client ID, origin, daily/total limits, current usage, and quota status
  • Improved Error Handling: Better error messages for token validation failures and connection issues
  • User Experience Improvements: Loading spinner, button states, and clearer user guidance
  • Debugging Enhancements: Added error logging for better troubleshooting and API response monitoring

1.7.0

  • Major Performance & UX Improvements
  • Service Registration Optimization: Moved AI service registration from plugin initialization to settings save, eliminating unnecessary API calls during normal page loads
  • Cache Management Tab: Added comprehensive cache management interface with three clearing options:
    • Clear embedding cache (transients) – safe regeneration
    • Clear post meta embeddings – requires manual regeneration
    • Clear all embedding data – complete reset option
  • Enhanced Similarity Threshold**: Improved precision and range:
    • Range changed from 0.0-1.0 to 0.2-1.0 (eliminates very low-relevance results while allowing broader searches)
    • Precision increased from 0.01 to 0.001 steps (3 decimal places)
    • Better user guidance and formatting
  • Modular Code Architecture: Refactored service registration into isolated, reusable methods for better maintainability
  • Real-time Cache Statistics: Display current cache size and post embedding counts
  • Enhanced Error Handling**: Better user feedback when AI service is unavailable with automatic fallback
  • Security Improvements: Enhanced nonce verification and user capability checks

1.6

  • Replaced internal embedding storage with external service integration.
  • Token-based authentication per origin.
  • Restore original search in case there isn’t any AI results
  • Solve fatal errors in case the vectors don’t have the same size

1.5

  • Bulk embedding generation based on custom number of posts

1.4

  • Settings UI Revamp: Introduced tabbed navigation to separate „General Settings” and „Generate Embeddings” for better organization.
  • Batch Embedding Generation: Users can now trigger embedding generation for up to 50 posts at a time.
  • Custom Post Type Selection: A dropdown was added, allowing users to choose which CPT they want to generate embeddings for.
  • Embedding Optimization: Now only processes posts that do not yet have embeddings to avoid redundant API calls and improve performance.
  • Security Enhancements: Added nonce verification to protect settings updates.

This update significantly improves usability, optimizes performance, and gives users more control over AI-powered search embeddings.

1.3

  • Similarity Threshold Control: Added a range input field (0-1) in settings to allow users to adjust the similarity threshold dynamically.

1.2

  • Cache Search embeddings, saved in transients for one day

1.1

  • text-davinci-003 (deprecated) has been replaced bytext-embedding-ada-002 model
  • db manipulation has been replaced by custom_post_meta approach

1.0

  • Initial release, adding the settings page and the search filter.