Freigeben über


UpdateAssistantOptions Class

Definition

The request details to use when modifying an existing assistant.

public class UpdateAssistantOptions : System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.Assistants.UpdateAssistantOptions>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.Assistants.UpdateAssistantOptions>
type UpdateAssistantOptions = class
    interface IJsonModel<UpdateAssistantOptions>
    interface IPersistableModel<UpdateAssistantOptions>
Public Class UpdateAssistantOptions
Implements IJsonModel(Of UpdateAssistantOptions), IPersistableModel(Of UpdateAssistantOptions)
Inheritance
UpdateAssistantOptions
Implements

Constructors

UpdateAssistantOptions()

Initializes a new instance of UpdateAssistantOptions.

Properties

Description

The modified description for the assistant to use.

FileIds

The modified list of previously uploaded fileIDs to attach to the assistant.

Instructions

The modified system instructions for the new assistant to use.

Metadata

A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length.

Model

The ID of the model to use.

Name

The modified name for the assistant to use.

Tools

The modified collection of tools to enable for the assistant. Please note ToolDefinition is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include CodeInterpreterToolDefinition, FunctionToolDefinition and RetrievalToolDefinition.

Explicit Interface Implementations

IJsonModel<UpdateAssistantOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<UpdateAssistantOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UpdateAssistantOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UpdateAssistantOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<UpdateAssistantOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to