跳到内容

OC3 Semantic box

v1.0.7

oc3dots · 2025年2月3日 上架

Add semantic search for indexed WordPress posts, pages, and WooCommerce products using OpenAI embeddings and Pinecone.

正在使用
10 以下
评分
暂无
累计下载
1,129
最近更新
2026年11月21日
需要 WordPress 5.6+已测试到 7.1.5PHP 7.0+

贡献者

截图

General plugin settings.
General plugin settings.
Pinecone indexing settings.
Pinecone indexing settings.
Search box appearance settings.
Search box appearance settings.
Search box and results.
Search box and results.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums