- Modernized authentication with the introduction of TenantProject
- Created a base mail template - Adapt and improve document API to usage of catalogs and processors - Adapt eveai_sync to new authentication mechanism and usage of catalogs and processors
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<div class="wrap">
|
||||
<h1><?php echo esc_html(get_admin_page_title()); ?></h1>
|
||||
|
||||
<form action="options.php" method="post">
|
||||
<?php
|
||||
// Output security fields
|
||||
settings_fields('eveai_chat_settings');
|
||||
|
||||
// Output setting sections and their fields
|
||||
do_settings_sections('eveai-chat-settings');
|
||||
|
||||
// Output save settings button
|
||||
submit_button('Save Settings');
|
||||
?>
|
||||
</form>
|
||||
|
||||
<div class="eveai-chat-help">
|
||||
<h2>How to Use EveAI Chat</h2>
|
||||
<p>To add the chat widget to your pages or posts, use the following shortcode:</p>
|
||||
<code>[eveai_chat tenant_id="YOUR_TENANT_ID" language="en" supported_languages="en,fr,de,es"]</code>
|
||||
|
||||
<h3>Available Shortcode Parameters:</h3>
|
||||
<ul>
|
||||
<li><strong>tenant_id</strong> (required): Your EveAI tenant ID</li>
|
||||
<li><strong>language</strong> (optional): Default language for the chat widget (default: en)</li>
|
||||
<li><strong>supported_languages</strong> (optional): Comma-separated list of supported languages (default: en,fr,de,es)</li>
|
||||
<li><strong>server_url</strong> (optional): EveAI server URL (default: https://evie.askeveai.com)</li>
|
||||
<li><strong>specialist_id</strong> (optional): ID of the specialist to use (default: 1)</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user