Partager via


OpenAIThreadCreationOptions.Metadata Property

Definition

A set of up to 16 key/value pairs that can be attached to an agent, 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.

[System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)]
public System.Collections.Generic.IReadOnlyDictionary<string,string>? Metadata { get; init; }
[<System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)>]
member this.Metadata : System.Collections.Generic.IReadOnlyDictionary<string, string> with get, set
Public Property Metadata As IReadOnlyDictionary(Of String, String)

Property Value

Attributes

Applies to