• Resolved sharkstack

    (@sharkstack)


      $query->setModel( 'gpt-4' );

    Using this to override the default engine, I get a 500 error.

    The method breaks functionality that is restored by commenting out the line. Tried numerous syntactical approaches (e.g. gpt-3.4, gpt-3, turbo, etc. All break the code when code otherwise works if setModel() is commented out.

    • This topic was modified 1 year, 2 months ago by sharkstack.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    Can you try set_model instead?

    No, replacing the documented function name setModel() with the function name suggested (set_mode()) did not resolve the issue. The issue is not resolved.

    Including $query->setModel( ‘textdavinci003‘ ); as documented breaks calls


    UPDATE: YES, replacing setModel() with set_model() in API calls DOES resolve the issue. Earlier reply was based on preliminary testing.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘API Model Configuration Not Working’ is closed to new replies.