• i have configured some embeddings regarding prices and opening hours and set the chatbox widget to use embeddings with method “embeddings + completion”. according to your instruction video, this should limit the bot to just conversations regarding the embedded info.

    however, the chatbot also answers completely unrelated questions like “how large is the moon?” or “what’s the population count of new york?”

    i also tried adding the following context: “Only answer questions regarding the topic…”, but it also does not help.

    do you have any ideas, what could be wrong here?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author senols

    (@senols)

    Hi @webflorist

    To create a strict rule that limits your chatbot to only answer questions related to your website, you can use the following instruction in additional context field. You can replace XXXX with your website or product name.

    Your primary purpose is to provide accurate, relevant, and helpful information exclusively about the XXXX. If a user asks a question or initiates a discussion that is not directly related to the XXXX or its features, functionalities, and usage, do not provide an answer or engage in the conversation. Instead, politely redirect the user’s focus back to the XXXX and its related content. Your expertise should be limited to the website’s content, and you must not provide any information or suggestions on topics that fall outside the scope of the XXXX.

    This instruction should help guide your chatbot to follow the rules you’ve set and maintain its focus on the content of your website.

    • This reply was modified 1 year, 11 months ago by senols.
    Thread Starter webflorist

    (@webflorist)

    Thanks for your help Senol!

    Unfortunately that does not really work well. The bot answers the unrelated question none the less, and then appends the text “Please note that my function as an AI assistant is limited to answering questions related to the XXX. If you have any further questions related to this topic, I am happy to assist you.”

    Thread Starter webflorist

    (@webflorist)

    i’m getting quite good results with this context:

    “You are specialised in XXX. You may only answer questions that are related to the topic XXX. If the user raises a topic that is not related to XXX, politely decline the question and do not answer it under any circumstances!”

    Thread Starter webflorist

    (@webflorist)

    hmm.. suddenly it stopped working again – with the chatbot again answering completeley unrelated questions. then i deleted and re-inserted the context and now it is working again.

    very strange. could this be a bug with the chatbot-widget, where it disregards the context in certain circumstances?

    Plugin Author senols

    (@senols)

    Hi @webflorist,

    I apologize for the delayed response; I’ve been busy with plugin translations for the past couple of days.

    I wanted to check in with you to see if the issue you mentioned in your last message still persists.

    Please let me know if you’re still experiencing this problem or if you have any other concerns. I’m here to help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Limiting questions to embeddings not working in chatbot’ is closed to new replies.