Condividi tramite


AssistantThread Class

Definition

Information about a single thread associated with an assistant.

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

Properties

CreatedAt

The Unix timestamp, in seconds, representing when this object was created.

Id

The identifier, which can be referenced in API endpoints.

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.

Explicit Interface Implementations

IJsonModel<AssistantThread>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AssistantThread>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AssistantThread>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AssistantThread>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AssistantThread>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to