Skip to content

Commit

Permalink
Merge pull request #145 from thomasdf/patch-1
Browse files Browse the repository at this point in the history
Remove toolChoice from ChatGpt example
  • Loading branch information
anasfik committed Feb 21, 2024
2 parents d471644 + a2cc27f commit 84f922d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,6 @@ OpenAIChatCompletionModel chatCompletion = await OpenAI.instance.chat.create(
messages: requestMessages,
temperature: 0.2,
maxTokens: 500,
toolChoice: "auto",
);
print(chatCompletion.choices.first.message); // ...
Expand Down

0 comments on commit 84f922d

Please sign in to comment.