Title: context
Last modified: March 1, 2025

---

# context

 *  Resolved [Geleosan](https://wordpress.org/support/users/geleosan/)
 * (@geleosan)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/context/)
 * Hi! Have chatbot a memory or context understanding? Maybe I need turn on this
   feature…
 * I am asking because chatbot is stupid. For example, my first question was “What
   is best beaches on Phuket”. My second question was “advice me beaches for kids”.
   Certainly I asked about Phuket. But bot response was about Shardzha (Egipt).
 * Model is 4o-mini.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [Geleosan](https://wordpress.org/support/users/geleosan/)
 * (@geleosan)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/context/#post-18339003)
 * Ups! It is not Egipt it is UAE. Maybe because Knowledge Navigator. I turned it
   on. My website is about 10 countries include UAE.
 *  Plugin Author [kognetiks](https://wordpress.org/support/users/kognetiks/)
 * (@kognetiks)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/context/#post-18339418)
 * Hello [Geleosan](https://wordpress.org/support/users/geleosan/) (@geleosan),
 * Do you have are you using the Knowledge Navigator to index your site? If so, 
   is there published content that would mention the best beaches?
 * On the Knowledge Navigator tab of the Chatbot, you can try increase the “Maximum
   Top Words” and the “Tuing Percentage”. Both of these factor into how deep the
   Knowledge Navigator will go when creating a TF-IDF map of you site.
   At the bottom
   of the same tab, you can “Download Data” (in csv format) and inspect your content
   to see if the expect key words are present.
 * Alternately, have you consider using an Open AI Assistant with more specific 
   knowlege?
 * Let me know what you learn.
 * Stephen
 *  Thread Starter [Geleosan](https://wordpress.org/support/users/geleosan/)
 * (@geleosan)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/context/#post-18343916)
 * Hi. Thank you for quick replay!
 * Yes, I use Knowledge Navigator. 5000 and 50%. I tried to set 10000 and 70% after
   your message but problem is the same. Bot dont understand context of conversation.
   I need to write full message everytime. I need to ask not “beach for kids” but“
   beach for kids on phuket”. Although all conversation was about phuket. I dont
   understand why. Bot must understand a context by default, right? Or via API do
   bot not understand a context?
 * Do I need just create Assistant in OpenAi, set ID into plugin, add additional
   instructions into plugin?
    -  This reply was modified 1 year, 3 months ago by [Geleosan](https://wordpress.org/support/users/geleosan/).
    -  This reply was modified 1 year, 3 months ago by [Geleosan](https://wordpress.org/support/users/geleosan/).
 *  Plugin Author [kognetiks](https://wordpress.org/support/users/kognetiks/)
 * (@kognetiks)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/context/#post-18389808)
 * Hello [Geleosan](https://wordpress.org/support/users/geleosan/) (@geleosan),
 * Apologies as this slipped through the cracks.
 * I’ve been working hard on improving content awareness.
 * If you’re using an Assistant, you can (as of Version 2.2.7) include a function
   to search for relevant content to answer visitor questions.
 *     ```wp-block-code
       You will want to include the following in a function in your OpenAI Assistant:query_wordpress_api (function definition){"name": "query_wordpress_api","description": "Calls a WordPress Rest API endpoint to query the WordPress database for post and page content that might answer the user's questions.","strict": false,"parameters": {"type": "object","required": ["endpoint","query","include_excerpt","page","per_page"],"properties": {"endpoint": {"type": "string","description": "The URL of the WordPress Rest API endpoint"},"query": {"type": "string","description": "Search query to filter posts and pages"},"include_excerpt": {"type": "boolean","description": "Flag indicating whether to include excerpts in the response"},"page": {"type": "number","description": "Pagination parameter to specify which page of results to retrieve"},"per_page": {"type": "number","description": "Number of results to return per page"}}}}
       ```
   
 * OpenAI Assistants can now use the one function. For security purposes, the assistant
   must be “registered” in the Kognetiks Chatbot lists of Assistants on the GPT 
   Assistants tab. This will limit unanticiapated use.
   The function should be entered
   into the Assistant’s “Functions” section.
 * Click the “+ Functions” button, then copy/paste the function from above, then
   click the “Save” button.
 * Once you’ve added the Assistant to a page in your website, ask it a question 
   that your content is likely to be able to answer it.
 * Let me know what you discover.
 * Best!
 * Stephen
    -  This reply was modified 1 year, 2 months ago by [kognetiks](https://wordpress.org/support/users/kognetiks/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘context’ is closed to new replies.

 * ![](https://ps.w.org/chatbot-chatgpt/assets/icon-128x128.png?rev=2890745)
 * [Kognetiks Chatbot for WordPress](https://wordpress.org/plugins/chatbot-chatgpt/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/chatbot-chatgpt/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/chatbot-chatgpt/)
 * [Active Topics](https://wordpress.org/support/plugin/chatbot-chatgpt/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/chatbot-chatgpt/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/chatbot-chatgpt/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [kognetiks](https://wordpress.org/support/users/kognetiks/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/context/#post-18389808)
 * Status: resolved