Skip to content

Commit

Permalink
add required as an option for tool_choice in chat/completions api
Browse files Browse the repository at this point in the history
  • Loading branch information
brianz-openai committed Apr 25, 2024
1 parent afe0b7c commit bc425fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7534,7 +7534,8 @@ components:
description: >
`none` means the model will not call a function and instead generates a message.
`auto` means the model can pick between generating a message or calling a function.
enum: [none, auto]
`required` means the model must pick a function to call.
enum: [none, auto, required]
- $ref: "#/components/schemas/ChatCompletionNamedToolChoice"
x-oaiExpandable: true

Expand Down

0 comments on commit bc425fa

Please sign in to comment.