This commit is contained in:
CHIEFSOFT\ameye
2024-03-03 07:50:54 -05:00
parent c03b833354
commit 88b9c57e0d
3 changed files with 7 additions and 2 deletions
+3 -2
View File
@@ -38,9 +38,10 @@ class WrenchResources extends BaseController
$open_ai = new OpenAi($open_ai_key);
$prompt = " autonomous cars";
// 'model' => 'text-davinci-003',
$complete = $open_ai->completion([
'model' => 'text-davinci-003',
'model' => 'gpt-3.5-turbo-instruct',
'prompt' => 'Writing 3 marketing Facebook caption for '. $prompt,
'temperature' => 0.9,
'max_tokens' => 150,