<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>API Model Configuration Not Working

[ad_1]

Replies: 1

  $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 17 minutes ago by sharkstack.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer