ChatCompletionsToolSelectionPreset Struct

Definition

Represents a generic policy for how a chat completions tool may be selected.

public readonly struct ChatCompletionsToolSelectionPreset : IEquatable<Azure.AI.Inference.ChatCompletionsToolSelectionPreset>
type ChatCompletionsToolSelectionPreset = struct
Public Structure ChatCompletionsToolSelectionPreset
Implements IEquatable(Of ChatCompletionsToolSelectionPreset)
Inheritance
ChatCompletionsToolSelectionPreset
Implements

Constructors

ChatCompletionsToolSelectionPreset(String)

Initializes a new instance of ChatCompletionsToolSelectionPreset.

Properties

Auto

Specifies that the model may either use any of the tools provided in this chat completions request or instead return a standard chat completions response as if no tools were provided.

None

Specifies that the model should not respond with a tool call and should instead provide a standard chat completions response. Response content may still be influenced by the provided tool definitions.

Required

Specifies that the model should respond with a call to one or more tools.

Methods

Equals(ChatCompletionsToolSelectionPreset)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(ChatCompletionsToolSelectionPreset, ChatCompletionsToolSelectionPreset)

Determines if two ChatCompletionsToolSelectionPreset values are the same.

Implicit(String to ChatCompletionsToolSelectionPreset)

Converts a string to a ChatCompletionsToolSelectionPreset.

Inequality(ChatCompletionsToolSelectionPreset, ChatCompletionsToolSelectionPreset)

Determines if two ChatCompletionsToolSelectionPreset values are not the same.

Applies to