- Created a new eveai_chat plugin to support the new dynamic possibilities of the Specialists. Currently only supports standard Rag retrievers (i.e. no extra arguments).
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<div class="wrap">
|
||||
<h1><?php echo esc_html(get_admin_page_title()); ?></h1>
|
||||
|
||||
<form action="options.php" method="post">
|
||||
<?php
|
||||
settings_fields('eveai_chat_settings');
|
||||
do_settings_sections('eveai-chat-settings');
|
||||
submit_button('Save Settings');
|
||||
?>
|
||||
</form>
|
||||
|
||||
<div class="eveai-chat-help">
|
||||
<h2><?php esc_html_e('How to Use EveAI Chat', 'eveai-chat'); ?></h2>
|
||||
<p><?php esc_html_e('To add the chat widget to your pages or posts, use the following shortcode:', 'eveai-chat'); ?></p>
|
||||
<code>[eveai_chat language="en" languages="en,fr,de" specialist_id="1"]</code>
|
||||
|
||||
<h3><?php esc_html_e('Available Shortcode Parameters:', 'eveai-chat'); ?></h3>
|
||||
<ul>
|
||||
<li><strong>language</strong>: <?php esc_html_e('Default language for the chat widget (default: en)', 'eveai-chat'); ?></li>
|
||||
<li><strong>languages</strong>: <?php esc_html_e('Comma-separated list of supported languages (default: en)', 'eveai-chat'); ?></li>
|
||||
<li><strong>specialist_id</strong>: <?php esc_html_e('ID of the specialist to use (default: 1)', 'eveai-chat'); ?></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user