
內容簡介
總結:此外掛透過與 Cohere API 的連接,提供AI動力的WordPress文章和自訂文章類型過濾功能。它將管理員輸入的提示發送至 Cohere 的 /v2/chat 端點,API根據提示的理解返回一組WP_Query參數。
1. 這個外掛使用什麼服務?
- 外掛與 Cohere 聊天 API (https://cohere.com) 整合,這是一個專門從事自然語言理解和生成的第三方AI服務。
2. 它的用途是什麼?
- 這個API用於分析管理員輸入的提示,並返回相關的WP_Query參數。這些參數用於智能篩選文章或自訂文章類型,實現在WordPress管理區域中進行語義搜索。
3. 會傳送哪些數據?
- WordPress管理員輸入的提示會被發送至Cohere API,不會收集或傳輸任何個人用戶或客戶數據。
4. 為什麼要傳送數據?
- 數據的傳送是為了讓Cohere API理解內容的上下文和使用者在提示背後的意圖。這樣它可以返回準確的WP_Query參數來進行文章篩選,而不是依賴簡單的基於關鍵字的篩選。
5. 何時會傳送數據?
- 僅當管理員在外掛介面中輸入提示並啟動篩選操作時。
6. 數據如何傳送?
- 數據通過安全的 wp_remote_post() 請求發送至 https://api.cohere.com/v2/chat。
7. 使用條款和隱私政策:
- Cohere 使用條款
- Cohere 隱私政策
8. 此API連接對於外掛的AI功能是必不可少的。如果您選擇不使用AI篩選功能,外掛的其餘部分仍能正常運作。
外掛標籤
開發者團隊
原文外掛簡介
Use natural language prompts to filter posts of any post type via AI.
Use Cases
Users can enter natural language prompts across any post type including products, posts, custom post types, and more.
Product Specific Filters:
Get products published in May and are in stock
Get New arrivals in the Accessories category
Get products on sale in the electronics category
Get products with a sale price less than 30
Media-Based Filters:
Get posts without featured images
Get only products with gallery images
Logical Conditions (AND/OR):
Get Products in stock and published after Jan 1, 2024
Get products from last 7 days that are out of stock
External Services
This plugin connects to an API provided by Cohere (https://cohere.com) to perform AI-powered filtering of WordPress posts and custom post types. It sends the prompt entered by the admin to Cohere’s /v2/chat endpoint. The API responds with a set of WP_Query arguments based on understanding of the prompt.
Details of the API integration
What the service is:
The plugin integrates with the Cohere Chat API (https://cohere.com), a third-party AI service that specializes in natural language understanding and generation.
What it is used for:
The API is used to analyze admin-entered prompts and return relevant WP_Query arguments. These are used by the plugin to filter posts or custom post types intelligently, enabling semantic searching in the WordPress admin area.
What Data is Sent:
The prompt entered by the WordPress admin is sent to the Cohere API. No personal user or customer data is collected or transmitted.
Why the data is sent:
The data is sent so that the Cohere API can understand the context of the content and the user’s intent behind the prompt. This allows it to return accurate WP_Query arguments to filter posts, instead of relying on simple keyword-based filters.
When Data is Sent:
Only when the admin enters a prompt in the plugin interface and initiates the filter action
How Data is Sent:
Data is sent via a secure wp_remote_post() request to https://api.cohere.com/v2/chat
Terms and Privacy:
Cohere Terms of Use
Cohere Privacy Policy
This API connection is essential for the plugin’s AI features to function. If you choose not to use the AI filtering functionality, the rest of the plugin remains functional.
