text-davinci-003
This commit is contained in:
@@ -15,9 +15,9 @@ class WrenchResources extends BaseController
|
|||||||
$open_ai = new OpenAi($open_ai_key);
|
$open_ai = new OpenAi($open_ai_key);
|
||||||
|
|
||||||
$prompt = "autonomous cars";
|
$prompt = "autonomous cars";
|
||||||
|
// text-davinci-003 davinci-instruct-beta-v3
|
||||||
$complete = $open_ai->completion([
|
$complete = $open_ai->completion([
|
||||||
'model' => 'davinci-instruct-beta-v3',
|
'model' => 'text-davinci-003',
|
||||||
'prompt' => 'Generate blog topics on: '. $prompt,
|
'prompt' => 'Generate blog topics on: '. $prompt,
|
||||||
'temperature' => 0.9,
|
'temperature' => 0.9,
|
||||||
'max_tokens' => 150,
|
'max_tokens' => 150,
|
||||||
|
|||||||
Reference in New Issue
Block a user