PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 4.3.7
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v4.3.7
8.7.8 8.7.7 8.7.6 8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 8.5.8 8.5.7 8.5.6 8.5.5 8.5.4 8.5.3 All 534 releases
chatbot / includes / openai / admin / files.php

files.php in WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services 4.3.7, at includes/openai/admin/files.php

49 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 $plugin_data = get_plugin_data( QCLD_wpCHATBOT_PLUGIN_DIR_PATH . '\qcld-wpwbot.php' );
3 $plugin_name = $plugin_data['Name'];
4 if(($plugin_name == 'WPBot Pro Wordpress Chatbot (Professional)') || ($plugin_name == 'WPBot Pro Wordpress Chatbot (Master)') || (function_exists('get_openaiaddon_valid_license') && get_openaiaddon_valid_license())){
5 ?>
6 <div class="row">
7 <div class="col-md-12">
8 <form class="file_form">
9 <div class="success-message alert alert-info"></div>
10 <div class="error-message alert alert-danger"></div>
11 <input type="file" (change)="fileEvent($event)" class="inputfile" id="openfileinput" style="display:none"/>
12 <label for="openfileinput" class="huge ui grey button">
13 <i class="fa fa-upload"></i>
14 Upload JSONL
15 </label>
16 </form>
17 </br>
18 <a href="https://wpbot.pro/myfile.jsonl" download><?php esc_html_e( 'Right click and Save the Example jsonl file','openai_addon');?></a>
19 <div class="table-responsive">
20 <table class="table table-striped table-bordered">
21 <thead><tr><td> <?php esc_html_e( 'File name','openai_addon'); ?></td><td><?php esc_html_e( 'File id','openai_addon');?></td><td><?php esc_html_e( 'Action','openai_addon');?></td></tr></thead>
22 <tbody id="openaiFileList">
23
24 </tbody>
25 </table>
26 </div>
27 <div class="my-5">
28 <h2><?php esc_html_e( 'Fine Tuned Models List','openai_addon');?></br></h2>
29 </div>
30 <div class="table-responsive">
31 <table class="table table-striped table-bordered">
32 <thead><tr><td><?php esc_html_e( 'FT id','openai_addon');?></td><td><?php esc_html_e( 'FT Model','openai_addon');?></td><td><?php esc_html_e( 'Status','openai_addon');?> </td><td><?php esc_html_e( 'File Name','openai_addon');?></td><td> <?php esc_html_e( 'File Id','openai_addon');?></td></tr></thead>
33 <tbody id="openaiFTList">
34
35 </tbody>
36 </table>
37 </div>
38 </div>
39 </div>
40 <?php } else { ?>
41 <div class="row">
42 <div class="col-md-12">
43 <?php
44 esc_html_e('Fine tuning and training is available with the WPBot Pro Professional and Master Licenses');
45
46 }
47
48 ?>
49 </div> </div>