| @@ -1,63 +1,63 @@ | ||
| 1 | - | |
| 2 | - <div class="card-body p-sm-0"> | |
| 3 | - <!-- <div class="alert alert-danger" role="alert"> | |
| 4 | - <?php | |
| 5 | -if (!defined('ABSPATH')) exit; // Exit if accessed directly | |
| 6 | -// 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'); ?> | |
| 7 | - </div> --> | |
| 8 | - <ul class="nav nav-tabs"> | |
| 9 | - <li class="active"><a data-toggle="tab" href="#wp-chatbot-openai-settings"><span class="wpwbot-admin-tab-icon "> <i class="dashicons dashicons-admin-generic"></i> </span><?php echo esc_html__('OpenAI settings', 'chatbot'); ?></a></li> | |
| 10 | - <li><a data-toggle="tab" href="#wp-chatbot-openai-rag"><span class="wpwbot-admin-tab-icon "> <i class="dashicons dashicons-admin-generic"></i> </span><?php echo esc_html__('RAG', 'chatbot'); ?></a></li> | |
| 11 | - <li><a data-toggle="tab" href="#wp-chatbot-openai-training-model"><span class="wpwbot-admin-tab-icon "> <i class="dashicons dashicons-plugins-checked"></i> </span><?php echo esc_html__('Training Model', 'chatbot'); ?></a></li> | |
| 12 | - <li><a data-toggle="tab" href="#wp-chatbot-openai-assistants"><span class="wpwbot-admin-tab-icon "> <i class="dashicons dashicons-admin-home"></i> </span><?php echo esc_html__('GPT Assistant', 'chatbot'); ?></a></li> | |
| 13 | - <li><a data-toggle="tab" href="#wp-chatbot-data_post_converter"><span class="wpwbot-admin-tab-icon "> <i class="dashicons dashicons-database-add"></i> </span><?php echo esc_html__('Fine Tune with Website Data', 'chatbot'); ?></a></li> | |
| 14 | - <li><a data-toggle="tab" href="#wp-chatbot-img_generator"><span class="wpwbot-admin-tab-icon "> <i class="dashicons dashicons-format-gallery"></i> </span><?php echo esc_html__('AI Image Generator', 'chatbot'); ?></a></li> | |
| 15 | - <li><a data-toggle="tab" href="#wp-chatbot-content_writer"><span class="wpwbot-admin-tab-icon "> <i class="dashicons dashicons-format-status"></i> </span><?php echo esc_html__('AI Article Generator', 'chatbot'); ?></a></li> | |
| 16 | - <li><a data-toggle="tab" href="#wp-chatbot-openai-help"><span class="wpwbot-admin-tab-icon "> <i class="dashicons dashicons-editor-help"></i> </span><?php echo esc_html__('Help', 'chatbot'); ?></a></li> | |
| 17 | - </ul> | |
| 18 | - | |
| 19 | - <div class="tab-content"> | |
| 20 | - <div id="wp-chatbot-openai-settings" class="tab-pane in active"> | |
| 21 | - <?php require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/settings.php'); ?> | |
| 22 | - </div> | |
| 23 | - <div id="wp-chatbot-openai-rag" class="tab-pane"> | |
| 24 | - <?php | |
| 25 | - require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/openai-rag.php'); | |
| 26 | - ?> | |
| 27 | - </div> | |
| 28 | - <div id="wp-chatbot-openai-training-model" class="tab-pane"> | |
| 29 | - <?php | |
| 30 | - require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/files.php'); | |
| 31 | - ?> | |
| 32 | - </div> | |
| 33 | - <div id="wp-chatbot-openai-assistants" class="tab-pane"> | |
| 34 | - <?php | |
| 35 | - require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/assistant.php'); | |
| 36 | - ?> | |
| 37 | - </div> | |
| 38 | - <div id="wp-chatbot-data_post_converter" class="tab-pane"> | |
| 39 | - <?php | |
| 40 | - require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/data_post_converter.php'); | |
| 41 | - ?> | |
| 42 | - </div> | |
| 43 | - <div id="wp-chatbot-img_generator" class="tab-pane"> | |
| 44 | - <div class="row"> | |
| 45 | - <div class="col-xs-12"> | |
| 46 | - <?php require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/img_generator.php' ); ?> | |
| 47 | - </div> | |
| 48 | - </div> | |
| 49 | - </div> | |
| 50 | - <div id="wp-chatbot-content_writer" class="tab-pane"> | |
| 51 | - <div class="row"> | |
| 52 | - <div class="col-xs-12"> | |
| 53 | - <?php require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/content_writer.php' ); ?> | |
| 54 | - </div> | |
| 55 | - </div> | |
| 56 | - </div> | |
| 57 | - <div id="wp-chatbot-openai-help" class="tab-pane"> | |
| 58 | - <?php require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/help.php' ); ?> | |
| 59 | - </div> | |
| 60 | - </div> | |
| 61 | - </div> | |
| 62 | - | |
| 1 | + | |
| 2 | + <div class="card-body p-sm-0"> | |
| 3 | + <!-- <div class="alert alert-danger" role="alert"> | |
| 4 | + <?php | |
| 5 | +if (!defined('ABSPATH')) exit; // Exit if accessed directly | |
| 6 | +// 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'); ?> | |
| 7 | + </div> --> | |
| 8 | + <ul class="nav nav-tabs"> | |
| 9 | + <li class="active"><a data-toggle="tab" href="#wp-chatbot-openai-settings"><span class="wpwbot-admin-tab-icon "> <i class="dashicons dashicons-admin-generic"></i> </span><?php echo esc_html__('OpenAI settings', 'chatbot'); ?></a></li> | |
| 10 | + <li><a data-toggle="tab" href="#wp-chatbot-openai-rag"><span class="wpwbot-admin-tab-icon "> <i class="dashicons dashicons-admin-generic"></i> </span><?php echo esc_html__('RAG', 'chatbot'); ?></a></li> | |
| 11 | + <li><a data-toggle="tab" href="#wp-chatbot-openai-training-model"><span class="wpwbot-admin-tab-icon "> <i class="dashicons dashicons-plugins-checked"></i> </span><?php echo esc_html__('Training Model', 'chatbot'); ?></a></li> | |
| 12 | + <li><a data-toggle="tab" href="#wp-chatbot-openai-assistants"><span class="wpwbot-admin-tab-icon "> <i class="dashicons dashicons-admin-home"></i> </span><?php echo esc_html__('GPT Assistant', 'chatbot'); ?></a></li> | |
| 13 | + <li><a data-toggle="tab" href="#wp-chatbot-data_post_converter"><span class="wpwbot-admin-tab-icon "> <i class="dashicons dashicons-database-add"></i> </span><?php echo esc_html__('Fine Tune with Website Data', 'chatbot'); ?></a></li> | |
| 14 | + <li><a data-toggle="tab" href="#wp-chatbot-img_generator"><span class="wpwbot-admin-tab-icon "> <i class="dashicons dashicons-format-gallery"></i> </span><?php echo esc_html__('AI Image Generator', 'chatbot'); ?></a></li> | |
| 15 | + <li><a data-toggle="tab" href="#wp-chatbot-content_writer"><span class="wpwbot-admin-tab-icon "> <i class="dashicons dashicons-format-status"></i> </span><?php echo esc_html__('AI Article Generator', 'chatbot'); ?></a></li> | |
| 16 | + <li><a data-toggle="tab" href="#wp-chatbot-openai-help"><span class="wpwbot-admin-tab-icon "> <i class="dashicons dashicons-editor-help"></i> </span><?php echo esc_html__('Help', 'chatbot'); ?></a></li> | |
| 17 | + </ul> | |
| 18 | + | |
| 19 | + <div class="tab-content"> | |
| 20 | + <div id="wp-chatbot-openai-settings" class="tab-pane in active"> | |
| 21 | + <?php require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/settings.php'); ?> | |
| 22 | + </div> | |
| 23 | + <div id="wp-chatbot-openai-rag" class="tab-pane"> | |
| 24 | + <?php | |
| 25 | + require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/openai-rag.php'); | |
| 26 | + ?> | |
| 27 | + </div> | |
| 28 | + <div id="wp-chatbot-openai-training-model" class="tab-pane"> | |
| 29 | + <?php | |
| 30 | + require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/files.php'); | |
| 31 | + ?> | |
| 32 | + </div> | |
| 33 | + <div id="wp-chatbot-openai-assistants" class="tab-pane"> | |
| 34 | + <?php | |
| 35 | + require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/assistant.php'); | |
| 36 | + ?> | |
| 37 | + </div> | |
| 38 | + <div id="wp-chatbot-data_post_converter" class="tab-pane"> | |
| 39 | + <?php | |
| 40 | + require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/data_post_converter.php'); | |
| 41 | + ?> | |
| 42 | + </div> | |
| 43 | + <div id="wp-chatbot-img_generator" class="tab-pane"> | |
| 44 | + <div class="row"> | |
| 45 | + <div class="col-xs-12"> | |
| 46 | + <?php require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/img_generator.php' ); ?> | |
| 47 | + </div> | |
| 48 | + </div> | |
| 49 | + </div> | |
| 50 | + <div id="wp-chatbot-content_writer" class="tab-pane"> | |
| 51 | + <div class="row"> | |
| 52 | + <div class="col-xs-12"> | |
| 53 | + <?php require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/content_writer.php' ); ?> | |
| 54 | + </div> | |
| 55 | + </div> | |
| 56 | + </div> | |
| 57 | + <div id="wp-chatbot-openai-help" class="tab-pane"> | |
| 58 | + <?php require_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH . 'includes/integration/openai/admin/help.php' ); ?> | |
| 59 | + </div> | |
| 60 | + </div> | |
| 61 | + </div> | |
| 62 | + | |
| 63 | 63 | |