Share via


ToolChoiceWebSearchPreview20250311 Class

Definition

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

public class ToolChoiceWebSearchPreview20250311 : Azure.AI.Projects.ToolChoiceParam, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.ToolChoiceWebSearchPreview20250311>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.ToolChoiceWebSearchPreview20250311>
type ToolChoiceWebSearchPreview20250311 = class
    inherit ToolChoiceParam
    interface IJsonModel<ToolChoiceWebSearchPreview20250311>
    interface IPersistableModel<ToolChoiceWebSearchPreview20250311>
Public Class ToolChoiceWebSearchPreview20250311
Inherits ToolChoiceParam
Implements IJsonModel(Of ToolChoiceWebSearchPreview20250311), IPersistableModel(Of ToolChoiceWebSearchPreview20250311)
Inheritance
ToolChoiceWebSearchPreview20250311
Implements

Constructors

Name Description
ToolChoiceWebSearchPreview20250311()

Initializes a new instance of ToolChoiceWebSearchPreview20250311.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ToolChoiceParam>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from ToolChoiceParam)
IJsonModel<ToolChoiceParam>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ToolChoiceParam)
IJsonModel<ToolChoiceWebSearchPreview20250311>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ToolChoiceWebSearchPreview20250311>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<ToolChoiceParam>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from ToolChoiceParam)
IPersistableModel<ToolChoiceParam>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from ToolChoiceParam)
IPersistableModel<ToolChoiceParam>.Write(ModelReaderWriterOptions) (Inherited from ToolChoiceParam)
IPersistableModel<ToolChoiceWebSearchPreview20250311>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ToolChoiceWebSearchPreview20250311>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ToolChoiceWebSearchPreview20250311>.Write(ModelReaderWriterOptions)

Applies to