你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ToolChoiceOptions Enum

Definition

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.

Applies to