From a2cc27f8e0125cb211b031d6b9d34573774d1000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Fr=C3=B8ysa?= Date: Wed, 20 Dec 2023 14:47:40 +0100 Subject: [PATCH] Update README.md Remove toolChoice from chatGpt example, as this example does not work when having toolChoice as a String. --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 9c59f7d2..d833d856 100644 --- a/README.md +++ b/README.md @@ -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); // ...