OC3 Semantic box
Add semantic search for indexed WordPress posts, pages, and WooCommerce products using OpenAI embeddings and Pinecone.
Install in
OC3 Semantic Box adds a search box that finds indexed content by meaning. Index selected WordPress posts and pages, or include eligible WooCommerce products in the same search.
- Search all indexed content, posts and pages, or products. Set a site-wide default and override it on individual shortcodes.
- Index simple and variable products, including simple and variable subscription products when WooCommerce Subscriptions is active. Variable products are indexed and shown as parent products.
- Display product cards with a link, image, description excerpt, price when available, and current availability. The plugin includes published, publicly viewable, unprotected products whose catalog visibility includes search. Results honor WooCommerce’s setting to hide out-of-stock items.
- Index items individually or use WooCommerce background processing for saved product changes and bulk catalog indexing.
- Review product indexing progress and use the read-only reconciliation tool to inspect discrepancies between WooCommerce, local indexing records, and Pinecone.
- Customize the search box appearance and text, configure the result limit and confidence threshold, and optionally require visitors to sign in. Add optional keywords to refine visitor searches.
External Services
Semantic indexing and search require the site administrator’s own OpenAI and Pinecone API keys. Each service receives its own key to authenticate requests.
OpenAI
The plugin sends text and the configured model to the OpenAI Embeddings API to create vectors for indexing and search.
- When a post or page is indexed, OpenAI receives its title, extracted content and permalink, plus category names for posts. Extracted content can include link URLs.
- When a product is indexed, OpenAI receives prepared text drawn from its name, short and long descriptions, categories, tags, attributes, and applicable subscription billing intervals. The indexed text omits dedicated price, SKU, and stock fields.
- When a visitor searches, OpenAI receives the submitted search text after sanitization, with any configured Additional Keywords appended, to generate a query vector.
- A model-list request, if triggered, uses the OpenAI key to retrieve available models.
OpenAI Services Agreement | Privacy Policy | API data controls
Pinecone
The plugin uses the configured Pinecone index to store vectors and find similar matches.
- When an item is indexed or updated, Pinecone receives the embedding, a vector ID, the WordPress post ID, and a title field limited to 100 characters. If the title is empty, that field uses the first 100 characters of the prepared source text.
- When a visitor searches, Pinecone receives the query embedding and requested number of candidate matches. The visitor’s search text is sent to OpenAI only.
- Removing indexed content sends the vector ID to Pinecone for deletion. Reconciliation sends expected vector IDs to check whether they exist. Vector requests include the configured namespace when applicable.
- Clicking Sync Indexes sends the entered Pinecone API key from the administrator’s browser to Pinecone to list available indexes.
Pinecone Master Subscription Agreement | Privacy Policy | Data Processing Addendum
Background indexing
When automatic WooCommerce synchronization is enabled, saved product changes can trigger the indexing or deletion requests above without an administrator present. Starting bulk catalog indexing can also send product text to OpenAI and embeddings and metadata to Pinecone as the background queue processes the catalog. Read-only reconciliation checks Pinecone without requesting new embeddings from OpenAI.
Written by Joobi from the project's own listing. See the source page
1.0.7
- Fixed WordPress automatically unserializes stored options.
1.0.6
- Added semantic search and result cards for eligible WooCommerce products, including supported subscription products.
- Added the Search Scope setting and per-shortcode scope overrides.
- Added manual product indexing, background synchronization, bulk indexing with progress controls, and read-only reconciliation.
1.0.5
- Fixed menu creation and conflicts with other plugins.
1.0.4
- Fixed the readme.
1.0.3
- Fixed upload.
1.0.2
- Added configurable keywords to refine search queries.
1.0.1
- Initial release.
Follow this listing's changes (Atom feed)