• Resolved pasqua200

    (@pasqua200)


    Hello !

    Any question I insert in chat window, after about 3 seconds receive this:

    “Error while calling OpenAI: you must provide a model parameter”

    yet I put the model well, I do not understand … Can you help with the issue?

    Thank you!

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

    (@tigroumeow)

    Hi @pasqua200,

    What does your shortcode exactly looks like?

    Thread Starter pasqua200

    (@pasqua200)

    Hi @tigroumeow , like that :
    [mwai_chat context=”” ai_name=”FMC” casually_fined_tuned=”true”]

    I inserted the code on my website to test, at the bottom before the footer : wwww.grodt.fr to watch

    Plugin Author Jordy Meow

    (@tigroumeow)

    Did you actually finetune a model? Did you also insert the model in the shortcode? (I can’t see it above)

    I can’t seem to access your website 🙁

    Thread Starter pasqua200

    (@pasqua200)

    Yes, I tried several methods, for example:

    [mwai_chat context=”” ai_name=”FMC” casually_fined_tuned=”true” model=”text-curie-001″]

    Answer in chat:

    System:
    Error while calling OpenAI: you must provide a model parameter

    Plugin Author Jordy Meow

    (@tigroumeow)

    This will not work fine for at least 3 reasons:

    [mwai_chat context="" ai_name="FMC" casually_fined_tuned="true" model="text-curie-001"]

    First, text-curie-001 is not a casually fined tuned model.

    The format used in ai_name and user_name should be the same. By default, the user is “User: ” (it’s probably like this in your settings). However, your ai_name doesn’t have “: “. It needs to be the same, as the AI model uses this to understand that it is a discussion.

    You are using a standard model, so you absolutely need a context. It might work without it, but the OpenAI models work better with a context.

    But that wouldn’t cause the issue you get.

    Could you Reset Parameters in the Settings, to make sure everything is nice and clean? They simply drop the shortcode [mwai_chat] without any parameters in it? Just as a test. Then, if it works, we can process slowly to the result you want.

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

The topic ‘Error in chat window ” Error while calling OpenAI…..”’ is closed to new replies.