diff --git a/README.md b/README.md index 57cc5a8..6f2e2eb 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Finally, you may use the `OpenAI` facade to access the OpenAI API: use OpenAI\Laravel\Facades\OpenAI; $result = OpenAI::chat()->create([ - 'model' => 'gpt-3.5-turbo', + 'model' => 'gpt-4o-mini', 'messages' => [ ['role' => 'user', 'content' => 'Hello!'], ], @@ -107,7 +107,7 @@ OpenAI::fake([ ]); $completion = OpenAI::completions()->create([ - 'model' => 'gpt-3.5-turbo-instruct', + 'model' => 'gpt-4o-mini', 'prompt' => 'PHP is ', ]); @@ -120,7 +120,7 @@ After the requests have been sent there are various methods to ensure that the e // assert completion create request was sent OpenAI::assertSent(Completions::class, function (string $method, array $parameters): bool { return $method === 'create' && - $parameters['model'] === 'gpt-3.5-turbo-instruct' && + $parameters['model'] === 'gpt-4o-mini' && $parameters['prompt'] === 'PHP is '; }); ```