PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 7.8.7
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v7.8.7
8.8.0 8.7.9 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 All 536 releases
← All changes | includes/integration/gemini/admin/settings.php +12 -32 8.6.17.8.7 View file →
@@ -1,5 +1,4 @@
1 -<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
2 1
3 2
4 3 <div class="card-body p-sm-0">
5 4
@@ -85,30 +84,11 @@
85 84 <div class="row gx-0">
86 85 <div class="mb-3 form-check ">
87 86 <label for="qcld_gemini_api_key" class="form-label"><?php esc_html_e('Gemini API Key','chatbot');?></label>
88 87 <input type="password" class="form-control" id="qcld_gemini_api_key" name="qcld_gemini_api_key" placeholder="Enter your Gemini API Key" value="<?php echo esc_attr(get_option('qcld_gemini_api_key')); ?>">
89 - <small class="form-text text-muted"><?php esc_html_e('Get your API key from https://aistudio.google.com/app/api-keys. ','chatbot'); ?></br><span style="color:red"><?php esc_html_e('It requires a paid Gemini API plan', 'chatbot'); ?> </span></small>
88 + <small class="form-text text-muted"><?php esc_html_e('Get your API key from https://gemini.ai/settings/keys','chatbot'); ?></small>
90 89 </div>
91 90 </div>
92 - <div class="row gx-0">
93 - <div class="mb-3 form-check ">
94 - <label for="qcld_gemini_model" class="form-label"><?php esc_html_e('Gemini Model','chatbot');?></label>
95 - <div class="input-group">
96 - <select class="form-control" id="qcld_gemini_model" name="qcld_gemini_model">
97 - <?php
98 - $selected_model = get_option('qcld_gemini_model');
99 - if($selected_model){
100 - echo '<option value="'.esc_attr($selected_model).'" selected>'.esc_html($selected_model).'</option>';
101 - } else {
102 - echo '<option value="gemini-2.5-flash" selected>gemini-2.5-flash</option>';
103 - }
104 - ?>
105 - </select>
106 - <button type="button" class="btn btn-primary" id="qcld_gemini_fetch_models"><?php esc_html_e('Fetch Models', 'chatbot'); ?></button>
107 - </div>
108 - <small class="form-text text-muted"><?php esc_html_e('Select your Gemini model. Click "Fetch Models" to update the list if you just added your API key.','chatbot'); ?><br><span style="color:red"><?php esc_html_e('Please select a your paid model all model on the list are might not be available for free plans', 'chatbot'); ?> </span></small>
109 - </div>
110 - </div>
111 91 <div class="row g-0">
112 92
113 93 <div class="row gx-0">
114 94 <div class="mb-3 form-check ">
@@ -136,9 +116,9 @@
136 116 <div id="wp-chatbot-gemini-rag" class="tab-pane">
137 117 <div class="col-sm-12">
138 118 <div class="wrap">
139 119 <h3>Gemini RAG Settings</h3>
140 - <p>If you enable RAG, you must configure the <a id="ai-knowledge-base-tab-gemini" href="<?php echo esc_url( admin_url('admin.php?page=wpbot_openAi#ai-knowledge-base-tab') ); ?>">Knowledgebase</a> for Post types and other data to embed. </p><span style="color:red"><?php esc_html_e('It requires a paid Gemini API plan', 'chatbot'); ?> </span>
120 + <p>If you enable RAG, you must configure the <a id="ai-knowledge-base-tab-gemini" href="<?php echo admin_url('admin.php?page=wpbot_openAi#ai-knowledge-base-tab'); ?>">Knowledgebase</a> for Post types and other data to embed.</p>
141 121 <div class="form-check form-switch my-4">
142 122 <input class="form-check-input"
143 123 type="checkbox"
144 124 id="is_page_rag_enabled_gemini"
@@ -152,23 +132,23 @@
152 132 </div>
153 133 </div>
154 134 <div class="qcld-row">
155 135 <div class="alert alert-info mt-20" role="alert">
156 - <p><b><?php echo esc_html__( 'Fine Tuning VS GPT Assistants VS RAG:', 'chatbot'); ?></b></p>
136 + <p><b><?php echo esc_html__( 'Fine Tuning VS GPT Assistants VS RAG:', 'wpchatbot' ); ?></b></p>
157 137 <p>
158 - <?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'); ?>
138 + <?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.', 'wpchatbot' ); ?>
159 139 </p></br>
160 140 <p>
161 - <b><?php echo esc_html__( 'How to Use RAG in This Plugin:', 'chatbot'); ?></b>
141 + <b><?php echo esc_html__( 'How to Use RAG in This Plugin:', 'wpchatbot' ); ?></b>
162 142 <ol>
163 - <li><?php echo esc_html__( 'Enable RAG from the settings panel', 'chatbot'); ?></li>
164 - <li><?php echo esc_html__( '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>
165 - <li><?php echo esc_html__( '(Optional) Upload PDFs or CSV files for embedding', 'chatbot'); ?></li>
166 - <li><?php echo esc_html__( 'The system automatically stores embeddings in the database', 'chatbot'); ?></li>
167 - <li><?php echo esc_html__( 'User questions will now be answered using your site’s knowledge base', 'chatbot'); ?></li>
168 - <li><?php echo esc_html__( 'You need to configure the OpenAI API key, AI Model and System Command under the main OpenAI Settings', 'chatbot'); ?></li>
143 + <li><?php echo esc_html__( 'Enable RAG from the settings panel', 'wpchatbot' ); ?></li>
144 + <li><?php echo esc_html__( 'Click “Embed All Selected Sources” button, after selecting the sources from the', 'wpchatbot' ); ?> <a href="<?php echo admin_url('admin.php?page=wpbot_openAi#ai-knowledge-base-tab'); ?>" target="_blank">knowledgebase tab</a></li>
145 + <li><?php echo esc_html__( '(Optional) Upload PDFs or CSV files for embedding', 'wpchatbot' ); ?></li>
146 + <li><?php echo esc_html__( 'The system automatically stores embeddings in the database', 'wpchatbot' ); ?></li>
147 + <li><?php echo esc_html__( 'User questions will now be answered using your site’s knowledge base', 'wpchatbot' ); ?></li>
148 + <li><?php echo esc_html__( 'You need to configure the OpenAI API key, AI Model and System Command under the main OpenAI Settings', 'wpchatbot' ); ?></li>
169 149 </ol>
170 - <strong><?php echo esc_html__( 'You can update or re-embed content at any time without retraining.', 'chatbot'); ?></strong>
150 + <strong><?php echo esc_html__( 'You can update or re-embed content at any time without retraining.', 'wpchatbot' ); ?></strong>
171 151 </p>
172 152
173 153 </div>
174 154