fix(docs): incorrect tool_choice example (#1330)

This commit is contained in:
Sigbjørn Skjæret 2024-04-05 15:14:03 +02:00 committed by GitHub
parent 909ef66951
commit 7265a5dc0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"
}
}]
}
)
```