ToolChoiceOptions Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
required means the model must call one or more tools.
public enum ToolChoiceOptions
type ToolChoiceOptions =
Public Enum ToolChoiceOptions
- Inheritance
-
ToolChoiceOptions
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | none. |
| Auto | 1 | auto. |
| Required | 2 | required. |