Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 652 Bytes

File metadata and controls

19 lines (11 loc) · 652 Bytes

ChatCompletionRequestToolChoice

Controls which (if any) tool is called by the model. none means the model will not call any tool and instead generates a message. auto means the model can pick between generating a message or calling one or more tools. any or required means the model must call one or more tools. Specifying a particular tool via {"type": "function", "function": {"name": "my_function"}} forces the model to call that tool.

Supported Types

models.ToolChoice

value: models.ToolChoice = /* values here */

models.ToolChoiceEnum

value: models.ToolChoiceEnum = /* values here */