From 7265a5dc0eb230a646ad868bad7ed5160d815328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigbj=C3=B8rn=20Skj=C3=A6ret?= Date: Fri, 5 Apr 2024 15:14:03 +0200 Subject: [PATCH] fix(docs): incorrect tool_choice example (#1330) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c4e194b..cd41a38 100644 --- a/README.md +++ b/README.md @@ -458,12 +458,12 @@ The high-level API supports OpenAI compatible function and tool calling. This is } } }], - tool_choice=[{ + tool_choice={ "type": "function", "function": { "name": "UserDetail" } - }] + } ) ```