次の方法で共有


AssistantsModelFactory.AssistantThread Method

Definition

Initializes a new instance of AssistantThread.

public static Azure.AI.OpenAI.Assistants.AssistantThread AssistantThread (string id = default, DateTimeOffset createdAt = default, System.Collections.Generic.IReadOnlyDictionary<string,string> metadata = default);
static member AssistantThread : string * DateTimeOffset * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.AI.OpenAI.Assistants.AssistantThread
Public Shared Function AssistantThread (Optional id As String = Nothing, Optional createdAt As DateTimeOffset = Nothing, Optional metadata As IReadOnlyDictionary(Of String, String) = Nothing) As AssistantThread

Parameters

id
String

The identifier, which can be referenced in API endpoints.

createdAt
DateTimeOffset

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

metadata
IReadOnlyDictionary<String,String>

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.

Returns

A new AssistantThread instance for mocking.

Applies to