AssistantsModelFactory.AssistantThread Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET