Class RunResponse
- Namespace
- OpenAI.
Object Models. Shared Models
- Assembly
- AntRunnerLib.dll
public class RunResponse : BaseResponse, IEquatable<ObjectBaseResponse>, IEquatable<BaseResponse>, IOpenAiModels.IId, IOpenAiModels.IModel, IOpenAiModels.ICreatedAt, IOpenAiModels.IFileIds, IOpenAiModels.IMetaData, IEquatable<RunResponse>
- Inheritance
-
System.
Object RunResponse
- Implements
-
System.
IEquatable <ObjectBase >Response System.IEquatable <BaseResponse >System.IEquatable <RunResponse >
- Inherited Members
-
System.
Object. Equals(System. Object) System.Object. Equals(System. Object, System. Object) System.Object. Get Hash Code() System.Object. Get Type() System.Object. Memberwise Clone() System.Object. Reference Equals(System. Object, System. Object) System.Object. To String()
- Extension Methods
Properties
AssistantId
The ID of the assistant used for execution of this run.
Property Value
- System.
String
CancelledAt
The Unix timestamp (in seconds) for when the run was cancelled.
Property Value
- System.
Nullable <System.Int32 >
CompletedAt
The Unix timestamp (in seconds) for when the run was completed.
Property Value
- System.
Nullable <System.Int32 >
CreatedAt
The Unix timestamp (in seconds) for when the run was created.
Property Value
- System.
Int32
ExpiresAt
The Unix timestamp (in seconds) for when the run will expire.
Property Value
- System.
Nullable <System.Int32 >
FailedAt
The Unix timestamp (in seconds) for when the run failed.
Property Value
- System.
Nullable <System.Int32 >
FileIds
The list of File IDs the assistant used for this run.
Property Value
- System.
Nullable <List<System.String >>
Id
The identifier, which can be referenced in API endpoints.
Property Value
- System.
String
IncompleteDetails
Details on why the run is incomplete. Will be null if the run is not incomplete.
Property Value
Instructions
The instructions that the assistant used for this run.
Property Value
- System.
String
LastError
The last error associated with this run. Will be null if there are no errors.
Property Value
MaxCompletionTokens
The maximum number of completion tokens specified to have been used over the course of the run.
Property Value
- System.
Nullable <System.Int32 >
MaxPromptTokens
The maximum number of prompt tokens specified to have been used over the course of the run.
Property Value
- System.
Nullable <System.Int32 >
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 maxium of 512 characters long.
Property Value
- System.
Nullable <Dictionary<System.String , System.String >>
Model
The model that the assistant used for this run.
Property Value
- System.
String
RequiredAction
Details on the action required to continue the run. Will be null if no action is required.
Property Value
ResponseFormat
Specifies the format that the model must output. Compatible with GPT-4 Turbo and all GPT-3.5 Turbo models newer than gpt-3.5-turbo-1106.
Property Value
- System.
Object
StartedAt
The Unix timestamp (in seconds) for when the run was started.
Property Value
- System.
Nullable <System.Int32 >
Status
The status of the run, which can be either queued, in_progress, requires_action, cancelling, cancelled, failed, completed, or expired.
Property Value
- System.
String
Temperature
The sampling temperature used for this run. If not set, defaults to 1.
Property Value
- System.
Nullable <System.Double >
ThreadId
The ID of the thread that was executed on as a part of this run.
Property Value
- System.
String
ToolChoice
Controls which (if any) tool is called by the model. none means the model will not call any tools and instead generates a message. auto is the default value and means the model can pick between generating a message or calling a tool. Specifying a particular tool like {"type": "TOOL_TYPE"} or {"type": "function", "function": {"name": "my_function"}} forces the model to call that tool.
Property Value
- System.
Object
Tools
The list of tools that the assistant used for this run.
Property Value
- System.
Nullable <List<ToolDefinition >>
TruncationStrategy
The truncation strategy to use for the thread. The default is auto.
[JsonPropertyName("truncation_strategy")]
public TruncationStrategy TruncationStrategy { get; set; }
Property Value
Usage
Usage statistics related to the run. This value will be null if the run is not in a terminal state (i.e. in_progress, queued, etc.).