'; printf( /* translators: %s: link to the Chunking & Retrieval settings tab. */ esc_html__('Hybrid keyword boost has moved to %s.', 'mxchat'), '' . esc_html__('Knowledge, Chunking & Retrieval', 'mxchat') . '' ); echo '
'; // Contextual Awareness mxchat_render_field_wrapper('contextual_awareness', __('Contextual Awareness', 'mxchat'), function() use ($admin_instance) { $admin_instance->mxchat_contextual_awareness_callback(); }, __('Allow the chatbot to understand and reference the current page content for more relevant responses.', 'mxchat')); // Citation Links mxchat_render_field_wrapper('citation_links', __('Citation Links', 'mxchat'), function() use ($admin_instance) { $admin_instance->mxchat_citation_links_toggle_callback(); }, __('Allow the AI to include citation links from your knowledge database in responses. If disabled, ensure your AI Behavior settings do not mention links or the AI may fabricate URLs.', 'mxchat')); // Strip Unapproved Links (plan 58f8b4) — enforcement is now // its own control instead of riding Citation Links. mxchat_render_field_wrapper('strip_unapproved_links', __('Strip Unapproved Links', 'mxchat'), function() use ($admin_instance) { $admin_instance->mxchat_strip_unapproved_links_toggle_callback(); }, __('Remove links the AI invents from its answers, even when Citation Links is off. Approved citations, real pages on this site, and links returned by your integrations (e.g. WooCommerce products) are always kept. On by default for new installs; existing sites keep their current behavior until enabled.', 'mxchat')); // Satisfaction Rating Prompt // The toggle callback inline-renders the 5 customization // fields inside a single sub-options wrapper (plan-29caac). // No separate customization group needed — the wrapper handles // its own server-side display state based on the toggle value. mxchat_render_field_wrapper('satisfaction_rating', __('Satisfaction Rating Prompt', 'mxchat'), function() use ($admin_instance) { $admin_instance->mxchat_satisfaction_rating_toggle_callback(); }, __('Show a 👍 / 👎 prompt after a conversation has had a couple of bot replies and the visitor has been idle for a moment. Disable to hide the prompt site-wide.', 'mxchat')); // Editor Assistant toggle moved to Content → Settings (plan-f7df40): // it's a content feature, so it lives on the screen that owns it. // Rendering is in admin-content-page.php; option + save path unchanged. ?>{limit}, {timeframe}, {count}, {remaining}
[Link text](https://example.com)
Scopes):', 'mxchat'); ?>
channels:manage
channels:read
chat:write
chat:write.public
groups:write
users:read
X-MxChat-Signature: sha256=<hex hmac-sha256 of the raw body>