Linux 软件免费装
Banner图

OZY AI Agent

开发者 idanishrangaiz
更新时间 2026年11月14日 02:16
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce chatbot ai assistant ai agent ai shopping assistant

下载

4.0.0 4.0.1 4.1.0 3.0.0 3.0.1 2.0.8

详情介绍:

OZY AI Agent puts a real AI agent on your WordPress site — not just a chatbot. A chatbot answers from text; an agent uses tools to fetch live data from your site and perform actions for the visitor. Every action that changes something (cart, coupon, order, enquiry) only happens after the visitor taps Confirm — the model can never act on its own. It adapts to your site automatically: It only helps with your website. Requests for unrelated work — writing code, homework, essays, general knowledge — are politely declined and steered back to your business. Agent tools Products appear as cards with image, price, stock and a link. Suggested replies appear as tappable chips. Built for trust Everything else Setup in 5 minutes
  1. Install and activate — the Setup Wizard opens
  2. Pick your site type (store, service business or blog); the agent gets matching defaults
  3. Add a line about your business and contact details
  4. Paste one API key (Groq is free) — the wizard scans your site and tests the connection
Everything can be changed later under AI Provider, AI Agent and Tools & Store. Developers Register your own tools: add_action( 'oozzy_register_tools', function () { OOZZY_Tools::register( [ 'name' => 'calculate_fabric', 'description' => 'Metres of fabric needed for a garment.', 'parameters' => [ 'type' => 'object', 'properties' => [ 'height_cm' => [ 'type' => 'integer' ] ], 'required' => [ 'height_cm' ] ], 'callback' => function ( $args, $ctx ) { return [ 'metres' => 4.5 ]; }, 'confirm' => false, ] ); } ); Filters: oozzy_tools, oozzy_system_prompt, oozzy_messages, oozzy_tool_result, oozzy_response, oozzy_client_ip, oozzy_product_fields, oozzy_product_card, oozzy_product_search_handler, oozzy_order_lookup_allowed, oozzy_find_order, oozzy_order_view, oozzy_phone_normalize, oozzy_inchat_gateways, oozzy_currency_markers, oozzy_page_content, oozzy_context_chars, oozzy_time_budget, oozzy_front_config. Actions: oozzy_register_tools, oozzy_tool_called, oozzy_action_confirmed, oozzy_conversation_ended, oozzy_gap_logged, oozzy_lead_captured, oozzy_handoff. JavaScript: window.OzyAgent.open( { prompt, context: { productId } } ), OzyAgent.send( text ), OzyAgent.close(). Window events: oozzy:open, oozzy:message, oozzy:card_click, oozzy:action_confirmed, oozzy:handoff. API keys can be set in wp-config.php instead of the database: OOZZY_GROQ_KEY, OOZZY_GEMINI_KEY, OOZZY_MISTRAL_KEY, OOZZY_OPENAI_KEY, OOZZY_CLAUDE_KEY. POST /wp-json/oozzy/v1/chat with "stream": true answers as text/event-stream: status events while tools run, delta text as the model writes, reset when a fallback provider takes over, then one done event carrying the full response. Tests: composer install, bin/install-wp-tests.sh <db> <user> <pass>, then vendor/bin/phpunit. If OZY Smart Search is active, product search uses its ozy_smart_search_query() engine automatically. Shortcodes [oozzy_ai_agent] — inline chat panel [oozzy_ai_agent mode="button" label="Chat with us"] — button that opens the popup [oozzy_ai_agent mode="loader"] — load the floating widget on this page only [ozy_agent_ask product="current" label="Ask AI about this product"] — opens the chat about a product

安装:

  1. Upload the ozy-chat-assistant folder to /wp-content/plugins/
  2. Activate the plugin through Plugins → Installed Plugins
  3. Configure at OZY AI Agent in the admin sidebar

屏幕截图:

  • AI Provider — API keys, editable model IDs, connection testing and fallback order.
  • Widget Settings — colour presets, every colour editable, with a live preview.
  • Analytics — daily volume, provider usage, response times and most-asked questions.

升级注意事项:

4.1.0 Streaming replies, WordPress 7 AI connectors, a setup wizard and optional conversation storage with GDPR export/erase. Existing settings are kept. 4.0.0 The chatbot becomes an agent: WooCommerce product search, cart, coupons, checkout and order tracking with visitor confirmation, enquiries, handoff and content-gap reports. Existing settings and appearance are kept. Requires WordPress 6.2+. 3.0.0 Renamed to OZY AI Agent. Adds drag-and-drop elements for Gutenberg, Elementor, Divi, Avada and WPBakery, an inline chat mode, free-text model IDs, full colour control and a new analytics dashboard. Settings are preserved. 2.0.0 Major update. Adds OpenAI and Claude support, website auto-reader, redesigned dashboard, and improved widget modes.

常见问题:

Can the agent place orders or change carts by itself?

No. Tools that change anything return a Confirm button. Nothing happens until the visitor taps it, and the change itself is made by WooCommerce's Store API in the visitor's own browser session.

Will it answer questions that have nothing to do with my site?

No. It declines requests such as writing code, homework or general knowledge questions and brings the conversation back to your business.

Can it make up prices?

Prices, stock, coupons and delivery times must come from tool results. The price guard checks every reply and removes amounts no tool returned.

Does it work with page caching?

Yes. The page HTML contains no nonce; the widget asks for a fresh one when it opens.

My site is not a shop. Is this still useful?

Yes. Service sites get enquiries and bookings, blogs get a guide to their content. Choose or confirm the site type under Tools & Store.

How do I place orders in the chat?

Turn on Place orders inside the chat under Tools & Store. Payment methods that need no redirect (Cash on delivery, Bank transfer, Cheque) are offered in the chat; for any other method the visitor is sent to your checkout page.

Why did the agent say it is having trouble?

Every configured provider failed. The exact reason is shown to administrators on the WordPress dashboard and on the plugin screens. Use Test connection on the AI Provider screen.

The plugin used to be called OZY Chat Assistant — is this the same plugin?

Yes. The slug and folder stay ozy-chat-assistant, so updates arrive normally and settings carry over.

Do I need all five API keys?

No. One working key is enough; others are used as fallbacks. For tool use, Groq (openai/gpt-oss-120b), Gemini Flash, GPT-4o mini and Claude Haiku all work well. On WordPress 7 you can also use a connector from Settings → Connectors instead of a key.

Replies appear all at once instead of streaming

Some hosts, proxies or caching layers buffer responses. The chat still works; the reply simply arrives in one piece. You can turn streaming off under AI Provider.

更新日志:

4.1.0 4.0.1 4.0.0 3.0.1 3.0.0 2.0.8 2.0.7 2.0.5 2.0.4 2.0.3 2.0.2 2.0.1 2.0.0 1.0.0