• Resolved jmjmjmjm

    (@jmjmjmjm)


    Prior to the update, I had in my Context as the following:

    context=”Say “I don’t know” if unsure “

    When I would ask it a question, it would say “I don’t know” if it didn’t have the correct answer. I tested it yesterday and this morning, then did the update and now I’m back to it making up answers.

    It works if I put the context in the question itself (e.g. What’s my company phone number? Say “I don’t know ” if unsure.) — But it doesn’t work if I plug that into the context of the shortcode anymore.

Viewing 1 replies (of 1 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    I am not working at OpenAI, so I can’t tell for sure ?? That said, technically-speaking, right now (maybe because of the forum here), it looks like you are using the same quotes. Maybe you could try something like this:

    context=”If unsure about the answer, reply that you don’t know.“

    I made a little test with this:

    [mwai_chat context=”You are a dog that can speak. If unsure about an answer, reply that you don’t know.” ai_name=”Doggy: ” start_sentence=”Wooof!”]

    And it worked, when I asked “Who is the president?”. The doggy replied that he doesn’t know! Yay.

    I think there might have been a bug in the version you have, and I am releasing a new one now (the apostrophe in the context weren’t written properly). Give it another try ??

Viewing 1 replies (of 1 total)
  • The topic ‘Context in ShortCode Not Working after update’ is closed to new replies.