| 1 |
|
| 2 |
<div class="qcl-openai"> |
| 3 |
<div class="row gx-0"> |
| 4 |
<div class="col-xs-12"> |
| 5 |
<div class="card admin-maxwith qcld-openai-main-box"> |
| 6 |
<div class="card-header bg-dark text-white py-sm-4 border-0">> |
| 7 |
|
| 8 |
<div class="row"> |
| 9 |
<div class="col-auto me-auto"> |
| 10 |
<h4><?php |
| 11 |
if (!defined('ABSPATH')) exit; // Exit if accessed directly |
| 12 |
esc_html_e( 'OpenAI Settings','chatbot');?></h4> |
| 13 |
</div> |
| 14 |
</div> |
| 15 |
</div> |
| 16 |
<div class="card-body p-sm-0"> |
| 17 |
<!-- <div class="alert alert-danger" role="alert"> |
| 18 |
<?php // echo esc_html__('OpenAI has disabled some of the older models. Please use GPT 3.5 or 4 to Fine tune. You need to update the dataset and Fine tune again. Please check the Help section for details.', 'chatbot'); ?> |
| 19 |
</div> --> |
| 20 |
<ul class="nav nav-tabs"> |
| 21 |
<li class="active"><a data-toggle="tab" href="#wp-chatbot-openai-settings"><i class="dashicons dashicons-admin-generic"></i><?php echo esc_html__('OpenAI settings', 'chatbot'); ?></a></li> |
| 22 |
<li><a data-toggle="tab" href="#wp-chatbot-openai-training-model"><i class="dashicons dashicons-plugins-checked"></i> <?php echo esc_html__('Training Model', 'chatbot'); ?></a></li> |
| 23 |
<li><a data-toggle="tab" href="#wp-chatbot-openai-assistants"> <i class="dashicons dashicons-admin-home"></i><?php echo esc_html__('GPT Assistant', 'chatbot'); ?></a></li> |
| 24 |
<li><a data-toggle="tab" href="#wp-chatbot-data_post_converter"><i class="dashicons dashicons-database-add"></i><?php echo esc_html__('Fine Tune with Website Data', 'chatbot'); ?></a></li> |
| 25 |
<li><a data-toggle="tab" href="#wp-chatbot-img_generator"><i class="dashicons dashicons-format-gallery"></i><?php echo esc_html__('AI Image Generator', 'chatbot'); ?></a></li> |
| 26 |
<li><a data-toggle="tab" href="#wp-chatbot-content_writer"><i class="dashicons dashicons-format-status"></i><?php echo esc_html__('AI Article Generator', 'chatbot'); ?></a></li> |
| 27 |
<li><a data-toggle="tab" href="#wp-chatbot-openai-help"><i class="dashicons dashicons-editor-help"></i> <?php echo esc_html__('Help', 'chatbot'); ?></a></li> |
| 28 |
</ul> |
| 29 |
<div class="tab-content"> |
| 30 |
<div id="wp-chatbot-openai-settings" class="tab-pane in active"> |
| 31 |
<?php require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/openai/admin/settings.php'); ?> |
| 32 |
</div> |
| 33 |
<div id="wp-chatbot-openai-training-model" class="tab-pane"> |
| 34 |
<?php |
| 35 |
require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/openai/admin/files.php'); |
| 36 |
?> |
| 37 |
</div> |
| 38 |
<div id="wp-chatbot-openai-assistants" class="tab-pane"> |
| 39 |
<?php |
| 40 |
require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/openai/admin/assistant.php'); |
| 41 |
?> |
| 42 |
</div> |
| 43 |
<div id="wp-chatbot-data_post_converter" class="tab-pane"> |
| 44 |
<?php |
| 45 |
require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/openai/admin/data_post_converter.php'); |
| 46 |
?> |
| 47 |
</div> |
| 48 |
<div id="wp-chatbot-img_generator" class="tab-pane"> |
| 49 |
<div class="row"> |
| 50 |
<div class="col-xs-12"> |
| 51 |
<?php require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/openai/admin/img_generator.php' ); ?> |
| 52 |
</div> |
| 53 |
</div> |
| 54 |
</div> |
| 55 |
<div id="wp-chatbot-content_writer" class="tab-pane"> |
| 56 |
<div class="row"> |
| 57 |
<div class="col-xs-12"> |
| 58 |
<?php require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/openai/admin/content_writer.php' ); ?> |
| 59 |
</div> |
| 60 |
</div> |
| 61 |
</div> |
| 62 |
<div id="wp-chatbot-openai-help" class="tab-pane"> |
| 63 |
<?php require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/openai/admin/help.php' ); ?> |
| 64 |
</div> |
| 65 |
</div> |
| 66 |
</div> |
| 67 |
<div class="card-footer bg-dark text-white py-sm-4 border-0"></div> |
| 68 |
</div> |
| 69 |
</div> |
| 70 |
</div> |
| 71 |
</div> |
| 72 |
|
| 73 |
|
| 74 |
<style> |
| 75 |
|
| 76 |
div#promotion-wpchatbot { |
| 77 |
margin: 0; |
| 78 |
padding: 0; |
| 79 |
border: none; |
| 80 |
max-width: initial !important; |
| 81 |
padding: 0 !important; |
| 82 |
margin: 20px 20px 20px 0 !important; |
| 83 |
padding: 15px 15px 15px 0 !important; |
| 84 |
border: none !important; |
| 85 |
border-radius: 6px !important; |
| 86 |
box-shadow: 0px 4px 6px 1px #ebebeb !important; |
| 87 |
} |
| 88 |
|
| 89 |
|
| 90 |
.qc-review-notice{ |
| 91 |
max-width: initial !important; |
| 92 |
padding: 0 !important; |
| 93 |
margin: 20px 20px 20px 0 !important; |
| 94 |
padding: 15px 15px 15px 0 !important; |
| 95 |
border: none !important; |
| 96 |
border-radius: 6px !important; |
| 97 |
box-shadow: 0px 4px 6px 1px #ebebeb !important; |
| 98 |
background: #fff; |
| 99 |
color: #000; |
| 100 |
} |
| 101 |
|
| 102 |
.qc-review-text h3 { |
| 103 |
color: #000000; |
| 104 |
} |
| 105 |
.qc-review-text p { |
| 106 |
color: #000000; |
| 107 |
} |
| 108 |
</style> |