This plugin is the closest to what I was looking for and I was really excited, but I’m not able to use Assistant.
I did it according to the manual, I inserted the shortcode [chatbot style=”embedded” assistant=”asst_… and the name of my Assistant appears correctly, but the conversation is as if I were using a normal chatgpt. It does not invoke the files or urls of the retrieval of my assistant.
Another thing I would like to know is if you intend to insert a field where conversations would be stored so that the user can see their previous conversations.
Thank you very much and congratulations on the great work!
I believe this to be a caching problem, at the browser, plugin or server level, or all three.
Do you have caching plugins installed? If so, which ones?
I’m investigating adding “no cache” on the pages where the chatbot appears to resolve this problem.
In your deployment, would you be willing to manually add a few lines of code to the plugin to see if this corrects this annoying behavior?
If so, from your Dashboard, select Tools, then select Plugin File Editor.
Once this loads, select the Kognetiks Chatbot from the pulldown in the upper right corner, the click the Select button.
After the code of the plugin loads, from the right hand list of Plugin Files, find and click on “includes”, then find and click on “chatbot-shortcode.php”.
After the selected file is loaded, click on line 18, then insert the following code:
if (!defined('DONOTCACHEPAGE')) { define('DONOTCACHEPAGE', true); }
Then, use the outter most scroll bar to scoll to the bottom of the page, there be sure to click “Update File”.
If you successfully added the code snippet above you’ll get a “File edited successfully.” message. And your screen should look something like this with the newly added lines 19-21.
After this update, if you can return to the page(s) that your having problems with, please force a page reload using CTRL-SHFT and R to refresh the page locally in your browser. You can also use incognito mode to check if the page, the chatbot, and the Assistant are working as expected.
I am keen to resolve this problem. So, I look forward to your findings.