Great with minor code edits!
-
I use the plugin Echo Knowledge Base (EKB) where I build FAQs for the users. EKB stores the FAQs as standard posts but with a new post_type value. I edited the file ./include/chatbot-chatgpt-kn-acquire.php so that the query around line 80 reads:
“SELECT ID, post_name, post_content FROM {$wpdb->prefix}posts WHERE (post_type=’post’ OR post_type=’epkb_post_type_1′) AND post_status=’publish'”
This lets the chatbot include any FAQs I write to be part of its knowledge so it can be more specific about my website when asked questions.
Now I only edit, add, or delete FAQs in EKB and the chatbot can use the information at will.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Great with minor code edits!’ is closed to new replies.