Class ThreadResponse
- Namespace
- OpenAI.ObjectModels.SharedModels
- Assembly
- AntRunnerLib.dll
public class ThreadResponse : BaseResponse, IEquatable<ObjectBaseResponse>, IEquatable<BaseResponse>, IOpenAiModels.IId, IOpenAiModels.ICreatedAt, IOpenAiModels.IMetaData, IEquatable<ThreadResponse>
- Inheritance
-
System.ObjectThreadResponse
- Implements
-
System.IEquatable<ObjectBaseResponse>System.IEquatable<BaseResponse>System.IEquatable<ThreadResponse>
- Inherited Members
-
System.Object.Equals(System.Object)System.Object.Equals(System.Object, System.Object)System.Object.GetHashCode()System.Object.GetType()System.Object.MemberwiseClone()System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ToString()
Properties
CreatedAt
The Unix timestamp (in seconds) for when the assistant was created.
[JsonPropertyName("created_at")]
public int CreatedAt { get; set; }
Property Value
- System.Int32
Id
The identifier, which can be referenced in API endpoints.
[JsonPropertyName("id")]
public string Id { get; set; }
Property Value
- System.String
Metadata
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.
[JsonPropertyName("metadata")]
public Dictionary<string, string>? Metadata { get; set; }
Property Value
- System.Nullable<Dictionary<System.String, System.String>>
ToolResources
A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the code_interpreter tool requires a list of file IDs, while the file_search tool requires a list of vector store IDs.
[JsonPropertyName("tool_resources")]
public ToolResources ToolResources { get; set; }