PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 6.9.3
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v6.9.3
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
← All changes | includes/integration/openai/admin/help.php +68 -142 8.6.16.9.3 View file →
@@ -1,73 +1,30 @@
1 +
1 2 <div class="accordion" id="qcldopenaiaccordion">
2 3 <div class="card">
3 4 <div class="card-header">
4 5 <h2 class="mb-0">
5 - <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseZerocollapseZeroServices" aria-expanded="false" aria-controls="panelsStayOpen-collapseZerocollapseZeroServices">
6 - <?php
7 -if (!defined('ABSPATH')) exit; // Exit if accessed directly
8 -esc_html_e( 'Getting Customized Results from the AI Services','chatbot');?>
6 + <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseZero" aria-expanded="false" aria-controls="panelsStayOpen-collapseZero">
7 + <?php esc_html_e( 'Getting Started with OpenAI','openai_addon');?>
9 8 </button>
10 9 </h2>
11 10 </div>
12 - <div id="panelsStayOpen-collapseZerocollapseZeroServices" class="collapse" aria-labelledby="panelsStayOpen-headingZer">
13 - <div class="card-body">
14 - <p>
15 - <?php esc_html_e( 'The best possible customized results you can get from AI services is to use the OpenAI GPT Assistant which allows you to upload documents and your website data (generated by our Pro versions). However, you can still get customized results by writing a detailed prompt. Under the System Command section in OpenAI Settings area (there is a prompt section for other AI services as well) you can write a detailed prompt that includes details about your services, products, how to contact you, or anything relevant to get customized results. Up to 3000 words is fine. This should be enough for most small to mid-sized websites.','chatbot');?> </p>
16 -
17 - <b>
18 - <?php esc_attr_e( '**','chatbot');?><a href="https://wpbot.pro/docs/knowledgebase/how-wpbot-chatbot-free-users-can-get-customized-results-from-the-chatbot-how-to-train-the-chatbot/#customize" class="qcls_openAI_customized_link" target="_blank">
19 - <?php esc_attr_e( 'Check this article','chatbot');?>
20 - </a>
21 -
22 - <?php esc_attr_e( 'for more details abou how to get Customized Results from OpenAI.','chatbot');?>
23 - </b>
24 -</br></br>
25 - <p>
26 - <b> <a href="https://www.wpbot.pro/pricing/" target="_blank"><?php esc_html_e( 'Upgrade to WPBot Pro Professional or the Master License to use GPT Assistant.','chatbot');?></a></b></p>
27 - </div>
28 - </div>
29 - </div>
30 - <div class="card">
31 - <div class="card-header">
32 - <h2 class="mb-0">
33 - <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseZero" aria-expanded="false" aria-controls="panelsStayOpen-collapseZero">
34 - <?php esc_html_e( 'Getting Started with OpenAI','chatbot');?>
35 - </button>
36 - </h2>
37 - </div>
38 11 <div id="panelsStayOpen-collapseZero" class="collapse" aria-labelledby="panelsStayOpen-headingZer">
39 12 <div class="card-body">
40 13 <p>
41 - <?php esc_html_e( 'OpenAI has changed their API billing policy lately. You have to ','chatbot');?><strong><?php esc_html_e( 'pre-purchase API credits','chatbot');?></strong><?php esc_html_e( ' now. Go to ','chatbot');?><a href="https://platform.openai.com/account/billing/" target="blank"><?php esc_html_e( 'https://platform.openai.com/account/billing/ ','chatbot');?></a><?php esc_html_e( 'and add credits to your API account. Then increase the usage limit.','chatbot');?>
14 + <?php esc_html_e( 'OpenAI has changed their API billing policy lately. You have to ','openai_addon');?><strong><?php esc_html_e( 'pre-purchase API credits','openai_addon');?></strong><?php esc_html_e( ' now. Go to ','openai_addon');?><a href="https://platform.openai.com/account/billing/" target="blank"><?php esc_html_e( 'https://platform.openai.com/account/billing/ ','openai_addon');?></a><?php esc_html_e( 'and add credits to your API account. Then increase the usage limit.','openai_addon');?>
42 15 </p>
43 16 <p>
44 - <?php esc_html_e( 'Once you add the OpenAI API key, it should already start working for generic questions. Open a new browser window in Incognito mode and test by asking "What is the capital of Russia?"','chatbot');?></br>
45 - <?php esc_html_e( 'Please make sure DialogFlow is Disabled if you want OpenAI to work','chatbot');?></p>
17 + <?php esc_html_e( 'Once you add the OpenAI API key, it should already start working for generic questions. Open a new browser window in Incognito mode and test by asking "What is the capital of Russia?"','openai_addon');?></br>
18 + <?php esc_html_e( 'Please make sure DialogFlow is Disabled if you want OpenAI to work','openai_addon');?></p>
46 19 </div>
47 20 </div>
48 21 </div>
49 - <div class="card">
50 - <div class="card-header">
51 - <h2 class="">
52 - <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseOne-compare" aria-expanded="false" aria-controls="panelsStayOpen-collapseOne-compare">
53 - <?php esc_html_e( 'Fine Tuning VS GPT Assistants VS RAG', 'chatbot'); ?>
54 - </button>
55 - </h2>
56 - </div>
57 - <div id="panelsStayOpen-collapseOne-compare" class=" collapse" aria-labelledby="panelsStayOpen-headingOne-compare">
58 - <div class="card-body">
59 - <p>
60 - <?php echo esc_html__( 'We suggest using GPT Assistants or RAG instead of Fine Tuning as Fine Tuning requires a lot of properly formatted data and GPT Assistants are easier to set up. You can still use your website data to train the bot.', 'chatbot'); ?>
61 - </p></br>
62 - </div>
63 - </div>
64 - </div>
65 22 <div class="card">
66 23 <div class="card-header">
67 24 <h2 class="mb-0">
68 - <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseZeroone" aria-expanded="false" aria-controls="panelsStayOpen-collapseZeroone">
69 - <?php esc_html_e( 'GPT Assistants:','chatbot');?>
25 + <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseZeroone" aria-expanded="false" aria-controls="panelsStayOpen-collapseZeroone">
26 + <?php esc_html_e( 'GPT Assistants:','openai_addon');?>
70 27 </button>
71 28 </h2>
72 29 </div>
73 30 <div id="panelsStayOpen-collapseZeroone" class="collapse" aria-labelledby="panelsStayOpen-headingZer">
@@ -72,21 +29,21 @@
72 29 </div>
73 30 <div id="panelsStayOpen-collapseZeroone" class="collapse" aria-labelledby="panelsStayOpen-headingZer">
74 31 <div class="card-body">
75 32 <p>
76 - <?php echo esc_html__('We suggest using GPT Assistants instead of Fine Tuning as Fine Tuning requires a lot of properly formatted data and GPT Assistants are easier to set up. You can still use your website data to train the bot.', 'chatbot'); ?>
33 + <?php echo esc_html__('We suggest using GPT Assistants instead of Fine Tuning as Fine Tuning requires a lot of properly formatted data and GPT Assistants are easier to set up. You can still use your website data to train the bot.', 'wpchatbot'); ?>
77 34 </p>
78 35 <p>
79 - <b><?php echo esc_html__('Setting up GPT Assistants:', 'chatbot'); ?></b>
36 + <b><?php echo esc_html__('Setting up GPT Assistants:', 'wpchatbot'); ?></b>
80 37 <ol>
81 - <li><?php echo esc_html__('Go to the GPT training with Website Data tab. Select all the Post types you need and press the button Convert Data for Assistant. Once it is done, download the data file in JSON format', 'chatbot'); ?></li>
82 - <li><?php echo esc_html__('Go to ', 'chatbot'); ?><a href="https://platform.openai.com/playground/assistants"><?php echo esc_html__('Assistants playground', 'chatbot'); ?></a><?php echo esc_html__(' and create a new Assistant', 'chatbot'); ?></li>
83 - <li><?php echo esc_html__('Upload the JSON file you downloaded and give the GPT an Instruction similar to the one below but customize it to your website URL:', 'chatbot'); ?>
84 - <p><?php echo esc_html__('Your name is Carry. You are a ChatBot assistant for the website ', 'chatbot'); ?><a href="https://www.quantumcloud.com"><?php echo esc_html__('https://www.quantumcloud.com. ', 'chatbot'); ?></a><?php echo esc_html__('Use the website data and the uploaded file to answer any questions from our website users.', 'chatbot'); ?></p>
38 + <li><?php echo esc_html__('Go to the GPT training with Website Data tab. Select all the Post types you need and press the button Convert Data for Assistant. Once it is done, download the data file in JSON format', 'wpchatbot'); ?></li>
39 + <li><?php echo esc_html__('Go to ', 'wpchatbot'); ?><a href="https://platform.openai.com/playground/assistants"><?php echo esc_html__('Assistants playground', 'wpchatbot'); ?></a><?php echo esc_html__(' and create a new Assistant', 'wpchatbot'); ?></li>
40 + <li><?php echo esc_html__('Upload the JSON file you downloaded and give the GPT an Instruction similar to the one below but customize it to your website URL:', 'wpchatbot'); ?>
41 + <p><?php echo esc_html__('Your name is Carry. You are a ChatBot assistant for the website ', 'wpchatbot'); ?><a href="https://www.quantumcloud.com"><?php echo esc_html__('https://www.quantumcloud.com. ', 'wpchatbot'); ?></a><?php echo esc_html__('Use the website data and the uploaded file to answer any questions from our website users.', 'wpchatbot'); ?></p>
85 42 </li>
86 - <li><?php echo esc_html__('Copy the Assistants ID and paste under the GPT Assistants tab under the OpenAI settings on your website. You are done. If you have purchased credits from the OpenAI API platform, it will start working.', 'chatbot'); ?></li>
87 - <!-- <li><?php // echo esc_html__('', 'chatbot'); ?></li>
88 - <li><?php // echo esc_html__('', 'chatbot'); ?></li> -->
43 + <li><?php echo esc_html__('Copy the Assistants ID and paste under the GPT Assistants tab under the OpenAI settings on your website. You are done. If you have purchased credits from the OpenAI API platform, it will start working.', 'wpchatbot'); ?></li>
44 + <!-- <li><?php // echo esc_html__('', 'wpchatbot'); ?></li>
45 + <li><?php // echo esc_html__('', 'wpchatbot'); ?></li> -->
89 46 </ol>
90 47 </p>
91 48 </div>
92 49 </div>
@@ -93,17 +50,17 @@
93 50 </div>
94 51 <div class="card">
95 52 <div class="card-header">
96 53 <h2 class="">
97 - <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseOne" aria-expanded="false" aria-controls="panelsStayOpen-collapseOne">
98 - <?php esc_html_e( 'How to get an OpenAI API Key','chatbot');?>
54 + <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseOne" aria-expanded="false" aria-controls="panelsStayOpen-collapseOne">
55 + <?php esc_html_e( 'How to get an OpenAI API Key','openai_addon');?>
99 56 </button>
100 57 </h2>
101 58 </div>
102 59 <div id="panelsStayOpen-collapseOne" class=" collapse" aria-labelledby="panelsStayOpen-headingOne">
103 60 <div class="card-body">
104 - <p><?php esc_html_e( 'The OpenAI API uses API keys for authentication. Visit your API Keys page to retrieve the API key you’ll use in your requests.Remember that your API key is a secret! Do not share it with others or expose it in any client-side code (browsers, apps). Production requests must be routed through your own backend server where your API key can be securely loaded from an environment variable or key management service.','chatbot');?></p>
105 - <p><?php esc_html_e( 'You can generate the API key from here: ','chatbot');?><a href="https://platform.openai.com/api-keys" target="blank"><?php esc_html_e( 'https://platform.openai.com/api-keys. ','chatbot');?></a></p>
61 + <p><?php esc_html_e( 'The OpenAI API uses API keys for authentication. Visit your API Keys page to retrieve the API key you’ll use in your requests.Remember that your API key is a secret! Do not share it with others or expose it in any client-side code (browsers, apps). Production requests must be routed through your own backend server where your API key can be securely loaded from an environment variable or key management service.','openai_addon');?></p>
62 + <p><?php esc_html_e( 'You can generate the API key from here: ','openai_addon');?><a href="https://platform.openai.com/api-keys" target="blank"><?php esc_html_e( 'https://platform.openai.com/api-keys. ','openai_addon');?></a></p>
106 63
107 64 <img class="img-responsive" src="<?php echo esc_url(QCLD_openai_addon_PLUGIN_URL.'image/api_screenshort.png'); ?>"/>
108 65
109 66 </div>
@@ -112,10 +69,10 @@
112 69
113 70 <div class="card">
114 71 <div class="card-header">
115 72 <h2 class="mb-0" id="panelsStayOpen-headingSeven">
116 - <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseseven" aria-expanded="false" aria-controls="panelsStayOpen-collapseseven">
117 - <?php esc_html_e( 'Training or Fine Tuning OpenAI','chatbot');?>
73 + <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseseven" aria-expanded="false" aria-controls="panelsStayOpen-collapseseven">
74 + <?php esc_html_e( 'Training or Fine Tuning OpenAI','openai_addon');?>
118 75 </button>
119 76 </h2>
120 77 </div>
121 78 <div id="panelsStayOpen-collapseseven" class=" collapse" aria-labelledby="panelsStayOpen-headingSeven">
@@ -120,86 +77,55 @@
120 77 </div>
121 78 <div id="panelsStayOpen-collapseseven" class=" collapse" aria-labelledby="panelsStayOpen-headingSeven">
122 79 <div class="card-body">
123 80
124 - <p><?php esc_html_e( 'To train OpenAI','chatbot');?>
81 + <p><?php esc_html_e( 'To train OpenAI','openai_addon');?>
125 82 <ul>
126 83 <li><?php esc_html_e('a. To train or fine tune a model, 1st you need to:
127 - ','chatbot'); ?>
84 + ','openai_addon'); ?>
128 85 <ol>
129 - <li><?php esc_html_e('Gather the necessary data you want to train with','chatbot'); ?></li>
130 - <li><?php esc_html_e('Format the data correctly according to OpenAI API requirements (Download sample data format to see how it works). A dataset should have a at least 500 rows to offer useful results. According to the OpenAI documentation, numbers of 3,000 and 5,000 rows are recommended.','chatbot'); ?></li>
131 - <li><?php esc_html_e('Upload the data to OpenAI in .JSONL format','chatbot'); ?></li>
132 - <li><?php esc_html_e('Train an existing OpenAI model(select from the Bot OpenAI settings page) with your data','chatbot'); ?></li>
86 + <li><?php esc_html_e('Gather the necessary data you want to train with','openai_addon'); ?></li>
87 + <li><?php esc_html_e('Format the data correctly according to OpenAI API requirements (Download sample data format to see how it works). A dataset should have a at least 500 rows to offer useful results. According to the OpenAI documentation, numbers of 3,000 and 5,000 rows are recommended.','openai_addon'); ?></li>
88 + <li><?php esc_html_e('Upload the data to OpenAI in .JSONL format','openai_addon'); ?></li>
89 + <li><?php esc_html_e('Train an existing OpenAI model(select from the Bot OpenAI settings page) with your data','openai_addon'); ?></li>
133 90 </ol>
134 91 </li>
135 92 <li><?php esc_html_e('b. Once you have your JSONL file ready, please go to the Training model section.
136 - Upload your training file in .JSONL format.','chatbot'); ?></li>
137 - <li><?php esc_html_e('c. Once you upload your training file, it will return a file id and the training will start once you click the Create FT Model button. Set a suffix (to recognize the model yourself later) and base model in the popup and create.','chatbot'); ?></li>
138 - <li><?php esc_html_e('d. Once the training is done and the file is ready, it will return the fine tuned model. It will be listed under the Fine Tuned Models List, the status will be shown as "Succeeded" and you will also get a FT(Fine Tuned) Model ID (to copy to the settings page).','chatbot'); ?></li>
139 - <li><?php esc_html_e('e. You can create multiple Fine Tuned models following the above procedure. Copy the Fine Tuned model ID you want to use.','chatbot'); ?></li>
140 - <li><?php esc_html_e('f. Go to the main Bot OpenAI settings page and paste the Fine Tuned model ID to the Custom Fine Tuned Model field and save. Now the bot will start responding according to the Training data.','chatbot'); ?></li>
93 + Upload your training file in .JSONL format.','openai_addon'); ?></li>
94 + <li><?php esc_html_e('c. Once you upload your training file, it will return a file id and the training will start once you click the Create FT Model button. Set a suffix (to recognize the model yourself later) and base model in the popup and create.','openai_addon'); ?></li>
95 + <li><?php esc_html_e('d. Once the training is done and the file is ready, it will return the fine tuned model. It will be listed under the Fine Tuned Models List, the status will be shown as "Succeeded" and you will also get a FT(Fine Tuned) Model ID (to copy to the settings page).','openai_addon'); ?></li>
96 + <li><?php esc_html_e('e. You can create multiple Fine Tuned models following the above procedure. Copy the Fine Tuned model ID you want to use.','openai_addon'); ?></li>
97 + <li><?php esc_html_e('f. Go to the main Bot OpenAI settings page and paste the Fine Tuned model ID to the Custom Fine Tuned Model field and save. Now the bot will start responding according to the Training data.','openai_addon'); ?></li>
141 98
142 - <li><?php esc_html_e('h. To Prepare your data model for GPT3.5/4:','chatbot'); ?>
99 + <li><?php esc_html_e('h. To Prepare your data model for GPT3.5/4:','openai_addon'); ?>
143 100 <ol>
144 - <li><?php esc_html_e('1st you need to create a jsonl file like the formate below','chatbot'); ?></li>
145 - <li><?php esc_html_e('Each prompt and completion should be in a single line','chatbot'); ?></li>
101 + <li><?php esc_html_e('1st you need to create a jsonl file like the formate below','openai_addon'); ?></li>
102 + <li><?php esc_html_e('Each prompt and completion should be in a single line','openai_addon'); ?></li>
146 103 </ol>
147 104 <ul>
148 105 </p>
149 - <b><?php esc_html_e( 'Fine tuning file format with GPT 3.5/4','chatbot'); ?></b></br>
150 - <pre><?php esc_html_e('{ "messages": [ { "role": "system", "content": "You are an assistant that occasionally misspells words" },{ "role": "user", "content": "Tell me a story." }, { "role": "assistant", "content": "One day a student went to schoool." }]}','chatbot'); ?>
106 + <b><?php esc_html_e( 'Fine tuning file format with GPT 3.5/4','openai_addon'); ?></b></br>
107 + <pre><?php esc_html_e('{ "messages": [ { "role": "system", "content": "You are an assistant that occasionally misspells words" },{ "role": "user", "content": "Tell me a story." }, { "role": "assistant", "content": "One day a student went to schoool." }]}','openai_addon'); ?>
151 108 </pre>
152 109
153 - <a href="https://wpbot.pro/myfile.jsonl" download><?php esc_html_e( 'Right click and Save the Example jsonl file for Fine Tuning with GPT 3.5/4','chatbot');?></a></br>
110 + <a href="https://wpbot.pro/myfile.jsonl" download><?php esc_html_e( 'Right click and Save the Example jsonl file for Fine Tuning with GPT 3.5/4','openai_addon');?></a></br>
154 111 </div>
155 112 </div>
156 113 </div>
157 - <div class="card">
158 - <div class="card-header">
159 - <h2 class="mb-0" id="panelsStayOpen-OpenAI-RAG">
160 - <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#panelsStayOpen-OpenAI-RAG-collapse" aria-expanded="false" aria-controls="panelsStayOpen-OpenAI-RAG">
161 - <?php esc_html_e( 'OpenAI RAG', 'chatbot'); ?>
162 - </button>
163 - </h2>
164 - </div>
165 - <div id="panelsStayOpen-OpenAI-RAG-collapse" class=" collapse" aria-labelledby="panelsStayOpen-OpenAI-RAG">
166 - <div class="card-body">
167 -
168 - <p><?php esc_html_e( 'To Embed OpenAI', 'chatbot'); ?></p>
169 - <p><?php esc_html_e( 'Enable RAG from the settings panel', 'chatbot'); ?></p>
170 - <ul>
171 - <li>
172 - <ol>
173 - <li><?php esc_html_e( 'Enable RAG from the settings panel', 'chatbot'); ?></li>
174 - <li><?php esc_html_e( 'Click “Embed All Selected Sources” button, after selecting the sources from the', 'chatbot'); ?> <a href="<?php echo esc_url( admin_url('admin.php?page=wpbot_openAi#ai-knowledge-base-tab') ); ?>" target="_blank">knowledgebase tab</a></li>
175 - <li><?php esc_html_e( '(Optional) Upload PDFs or CSV files for embedding', 'chatbot'); ?></li>
176 - <li><?php esc_html_e( 'The system automatically stores embeddings in the database', 'chatbot'); ?></li>
177 - <li><?php esc_html_e( 'User questions will now be answered using your site’s knowledge base', 'chatbot'); ?></li>
178 - <li><?php esc_html_e( 'You need to configure the OpenAI API key, AI Model and System Command under the main OpenAI Settings', 'chatbot'); ?></li>
179 - </ol>
180 - </li>
181 - <ul>
182 - </p>
183 - <b><?php esc_html_e( 'You can update or re-embed content at any time without retraining.', 'chatbot'); ?></b></br>
184 -
185 - </div>
186 - </div>
187 - </div>
188 114 <div class="card">
189 115 <div class="card-header">
190 116 <h2 class="">
191 - <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseSixteen" aria-expanded="false" aria-controls="panelsStayOpen-collapsesixteen">
192 - <?php esc_html_e( 'Important points about fine tuning','chatbot');?>
117 + <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseSixteen" aria-expanded="false" aria-controls="panelsStayOpen-collapsesixteen">
118 + <?php esc_html_e( 'Important points about fine tuning','openai_addon');?>
193 119 </button>
194 120 </h2>
195 121 </div>
196 122 <div id="panelsStayOpen-collapseSixteen" class=" collapse" aria-labelledby="panelsStayOpen-headingSixteen">
197 123 <div class="card-body">
198 - <p><?php esc_html_e( 'For better results, you need at least 500+ prompts. Otherwise, OpenAI will mix the response with generic knowledge. Also, the prompts should be as descriptive as possible. Follow the FAQ type format with descriptive questions and answers. Example prompt: Instead of just "Vintage Denim Jacket" you can write "Why one should wear our Vintage Denim Jacket?".','chatbot');?></p>
199 - <p><?php esc_html_e( 'If your completion is short like below or around 100 words, keep the Max Tokens value 200. Tweak the Temperature, Presence Penalty and Frequency penalty settings until you get results that you like.','chatbot');?></p>
200 - <p><?php esc_html_e( 'If you are Fine tuning with website data, the Bot will use the Post titles as prompts. If the Page/Post titles are not descriptive you will not get good results. In such caes, you can download the JSONL file from the Training Model page and improve the prompts.Then fine tune again.','chatbot');?></p>
201 - <p><?php esc_html_e( 'Keep the Site search disabled from Settings->Start Menu so that the bot does not bring answers from the site search. Please log out and log in again so our settings do not get overwritten.','chatbot');?></p>
124 + <p><?php esc_html_e( 'For better results, you need at least 500+ prompts. Otherwise, OpenAI will mix the response with generic knowledge. Also, the prompts should be as descriptive as possible. Follow the FAQ type format with descriptive questions and answers. Example prompt: Instead of just "Vintage Denim Jacket" you can write "Why one should wear our Vintage Denim Jacket?".','openai_addon');?></p>
125 + <p><?php esc_html_e( 'If your completion is short like below or around 100 words, keep the Max Tokens value 200. Tweak the Temperature, Presence Penalty and Frequency penalty settings until you get results that you like.','openai_addon');?></p>
126 + <p><?php esc_html_e( 'If you are Fine tuning with website data, the Bot will use the Post titles as prompts. If the Page/Post titles are not descriptive you will not get good results. In such caes, you can download the JSONL file from the Training Model page and improve the prompts.Then fine tune again.','openai_addon');?></p>
127 + <p><?php esc_html_e( 'Keep the Site search disabled from Settings->Start Menu so that the bot does not bring answers from the site search. Please log out and log in again so our settings do not get overwritten.','openai_addon');?></p>
202 128
203 129 </div>
204 130 </div>
205 131 </div>
@@ -205,21 +131,21 @@
205 131 </div>
206 132 <div class="card">
207 133 <div class="card-header">
208 134 <h2 class="mb-0" id="panelsStayOpen-headingNine">
209 - <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseNine" aria-expanded="false" aria-controls="panelsStayOpen-collapseNine">
210 - <?php esc_html_e( 'How to Optimize Fine Tuning','chatbot');?>
135 + <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseNine" aria-expanded="false" aria-controls="panelsStayOpen-collapseNine">
136 + <?php esc_html_e( 'How to Optimize Fine Tuning','openai_addon');?>
211 137 </button>
212 138 </h2>
213 139 </div>
214 140 <div id="panelsStayOpen-collapseNine" class=" collapse" aria-labelledby="panelsStayOpen-headingNine">
215 141 <div class="card-body">
216 - <?php esc_html_e('To get better results from fine-tuning please follow the following steps:','chatbot'); ?>
142 + <?php esc_html_e('To get better results from fine-tuning please follow the following steps:','openai_addon'); ?>
217 143 <ol>
218 - <li><?php esc_html_e('Set a lower value for Temperature','chatbot'); ?></li>
219 - <li><?php esc_html_e('Use a higher value for the Presence Penalty and Frequency penalty.','chatbot'); ?></li>
220 - <li><?php esc_html_e('If possible use the Curie model as your base model when you create the custom model.','chatbot'); ?></li>
221 - <li><?php esc_html_e('Use max token depending on your prompt and completions. If you use a higher value of max token, AI will create more information which can be irrelevant to your context. The same for the lower max token. If you chose too low a value for max token then it will cut your data short or give errors.','chatbot'); ?></li>
144 + <li><?php esc_html_e('Set a lower value for Temperature','openai_addon'); ?></li>
145 + <li><?php esc_html_e('Use a higher value for the Presence Penalty and Frequency penalty.','openai_addon'); ?></li>
146 + <li><?php esc_html_e('If possible use the Curie model as your base model when you create the custom model.','openai_addon'); ?></li>
147 + <li><?php esc_html_e('Use max token depending on your prompt and completions. If you use a higher value of max token, AI will create more information which can be irrelevant to your context. The same for the lower max token. If you chose too low a value for max token then it will cut your data short or give errors.'); ?></li>
222 148 </ol>
223 149 </div>
224 150 </div>
225 151 </div>
@@ -225,16 +151,16 @@
225 151 </div>
226 152 <div class="card">
227 153 <div class="card-header">
228 154 <h2 class="mb-0" id="panelsStayOpen-headingTwo">
229 - <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseTwo" aria-expanded="false" aria-controls="panelsStayOpen-collapseTwo">
230 - <?php esc_html_e( 'Presence Penalty','chatbot');?>
155 + <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseTwo" aria-expanded="false" aria-controls="panelsStayOpen-collapseTwo">
156 + <?php esc_html_e( 'Presence Penalty','openai_addon');?>
231 157 </button>
232 158 </h2>
233 159 </div>
234 160 <div id="panelsStayOpen-collapseTwo" class=" collapse" aria-labelledby="panelsStayOpen-headingTwo">
235 161 <div class="card-body">
236 - <?php esc_html_e( 'Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model’s likelihood to talk about new topics.','chatbot');?>
162 + <?php esc_html_e( 'Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model’s likelihood to talk about new topics.','openai_addon');?>
237 163 </div>
238 164 </div>
239 165 </div>
240 166 <div class="card">
@@ -239,16 +165,16 @@
239 165 </div>
240 166 <div class="card">
241 167 <div class="card-header">
242 168 <h2 class="mb-0" id="panelsStayOpen-headingThree">
243 - <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseThree" aria-expanded="false" aria-controls="panelsStayOpen-collapseThree">
244 - <?php esc_html_e( 'Frequency Penalty','chatbot');?>
169 + <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseThree" aria-expanded="false" aria-controls="panelsStayOpen-collapseThree">
170 + <?php esc_html_e( 'Frequency Penalty','openai_addon');?>
245 171 </button>
246 172 </h2>
247 173 </div>
248 174 <div id="panelsStayOpen-collapseThree" class=" collapse" aria-labelledby="panelsStayOpen-headingThree">
249 175 <div class="card-body">
250 - <?php esc_html_e( ' Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model’s likelihood to repeat the same line verbatim.','chatbot');?>
176 + <?php esc_html_e( ' Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model’s likelihood to repeat the same line verbatim.','openai_addon');?>
251 177
252 178 </div>
253 179 </div>
254 180 </div>
@@ -255,16 +181,16 @@
255 181
256 182 <div class="card">
257 183 <div class="card-header">
258 184 <h2 class="mb-0" id="panelsStayOpen-headingFour">
259 - <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapsefour" aria-expanded="false" aria-controls="panelsStayOpen-collapseFour">
260 - <?php esc_html_e( 'Tempareture','chatbot');?>
185 + <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapsefour" aria-expanded="false" aria-controls="panelsStayOpen-collapseFour">
186 + <?php esc_html_e( 'Tempareture','openai_addon');?>
261 187 </button>
262 188 </h2>
263 189 </div>
264 190 <div id="panelsStayOpen-collapsefour" class=" collapse" aria-labelledby="panelsStayOpen-headingFour">
265 191 <div class="card-body">
266 - <?php esc_html_e( ' One of the most important settings is called temperature.When the temperature is above 0, submitting the same prompt results in different completions each time.Remember that the model predicts which text is most likely to follow the text preceding it. Temperature is a value between 0 and 1 that essentially lets you control how confident the model should be when making these predictions. Lowering temperature means it will take fewer risks, and completions will be more accurate and deterministic. Increasing temperature will result in more diverse completions.','chatbot');?>
192 + <?php esc_html_e( ' One of the most important settings is called temperature.When the temperature is above 0, submitting the same prompt results in different completions each time.Remember that the model predicts which text is most likely to follow the text preceding it. Temperature is a value between 0 and 1 that essentially lets you control how confident the model should be when making these predictions. Lowering temperature means it will take fewer risks, and completions will be more accurate and deterministic. Increasing temperature will result in more diverse completions.','openai_addon');?>
267 193 </div>
268 194 </div>
269 195 </div>
270 196 <div class="card">
@@ -269,16 +195,16 @@
269 195 </div>
270 196 <div class="card">
271 197 <div class="card-header">
272 198 <h2 class="mb-0" id="panelsStayOpen-headingSix">
273 - <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapsesix" aria-expanded="false" aria-controls="panelsStayOpen-collapsesix">
274 - <?php esc_html_e( 'My OpenAI does not work','chatbot');?>
199 + <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapsesix" aria-expanded="false" aria-controls="panelsStayOpen-collapsesix">
200 + <?php esc_html_e( 'My OpenAI does not work','openai_addon');?>
275 201 </button>
276 202 </h2>
277 203 </div>
278 204 <div id="panelsStayOpen-collapsesix" class=" collapse" aria-labelledby="panelsStayOpen-headingSix">
279 205 <div class="card-body">
280 - <?php esc_html_e( ' Please check your settings( i.e: Api keys, Max token etc.). Depending on the model (GPT3 was maximum 4000 ) used, requests can use up to 4097 tokens shared between prompt and completion. If your prompt is 4000 tokens, your completion can be 97 tokens at most. Also check the dialogflow is inactive. Dialogflow and OpenAI does not work together.','chatbot');?>
206 + <?php esc_html_e( ' Please check your settings( i.e: Api keys, Max token etc.). Depending on the model (GPT3 was maximum 4000 ) used, requests can use up to 4097 tokens shared between prompt and completion. If your prompt is 4000 tokens, your completion can be 97 tokens at most. Also check the dialogflow is inactive. Dialogflow and OpenAI does not work together.','openai_addon');?>
281 207 </div>
282 208 </div>
283 209 </div>
284 210 <div class="card">
@@ -283,16 +209,16 @@
283 209 </div>
284 210 <div class="card">
285 211 <div class="card-header">
286 212 <h2 class="mb-0" id="panelsStayOpen-headingEight">
287 - <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseEight" aria-expanded="false" aria-controls="panelsStayOpen-collapseEight">
288 - <?php esc_html_e( 'Fine Tune with Website Data','chatbot');?>
213 + <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#panelsStayOpen-collapseEight" aria-expanded="false" aria-controls="panelsStayOpen-collapseEight">
214 + <?php esc_html_e( 'Fine Tune with Website Data','openai_addon');?>
289 215 </button>
290 216 </h2>
291 217 </div>
292 218 <div id="panelsStayOpen-collapseEight" class=" collapse" aria-labelledby="panelsStayOpen-headingEight">
293 219 <div class="card-body">
294 - <?php esc_html_e( 'You can create multiple Fine Tuned models based on your post types and pages. You can download your training data as a JSONL file to modify and then upload it in the same process as other file (see above for instructions). Also, you can upload it by clicking the `Upload As FT Model` button. Then you can create a Fine Tuned model from the Training Model tab.','chatbot');?>
220 + <?php esc_html_e( 'You can create multiple Fine Tuned models based on your post types and pages. You can download your training data as a JSONL file to modify and then upload it in the same process as other file (see above for instructions). Also, you can upload it by clicking the `Upload As FT Model` button. Then you can create a Fine Tuned model from the Training Model tab.','openai_addon');?>
295 221 </div>
296 222 </div>
297 223 </div>
298 224 </div>