Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
fixed example code
Browse files Browse the repository at this point in the history
  • Loading branch information
MusicStudioNYC authored Mar 2, 2023
1 parent 04df9fb commit 7f90926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ $response = $openaiClient->chatCompletions()->create(
])
)->toModel();

echo $model->choices[0]->message->content;
echo $response->choices[0]->message->content;
// Ahoy there, me hearty! Gather round and listen well, for I'll be tellin' ye about the treasure trove known as ChatGPT API! ...
```

Expand Down

0 comments on commit 7f90926

Please sign in to comment.