Table of Contents

Class AssistantsApiEvent

public static class AssistantsApiEvent
Inheritance
object
AssistantsApiEvent

Fields

Done

public const string Done = "done"

Field Value

string

Error

Occurs when an error occurs. This can happen due to an internal server error or a timeout.

Data type is a CloudApiError.

public const string Error = "error"

Field Value

string

ThreadCreated

Occurs when a new thread is created.

Data type is a Thread.

public const string ThreadCreated = "thread.created"

Field Value

string

ThreadMessageCompleted

Occurs when a message is completed.

Data type is a ThreadMessage.

public const string ThreadMessageCompleted = "thread.message.completed"

Field Value

string

ThreadMessageCreated

Occurs when a message is created.

Data type is a ThreadMessage.

public const string ThreadMessageCreated = "thread.message.created"

Field Value

string

ThreadMessageDelta

Occurs when parts of a Message are being streamed.

Data type is a OpenAIClient.ThreadMessageDelta.

public const string ThreadMessageDelta = "thread.message.delta"

Field Value

string

ThreadMessageInProgress

Occurs when a message moves to an in_progress state.

Data type is a ThreadMessage.

public const string ThreadMessageInProgress = "thread.message.in_progress"

Field Value

string

ThreadMessageIncomplete

Occurs when a message ends before it is completed.

Data type is a ThreadMessage.

public const string ThreadMessageIncomplete = "thread.message.incomplete"

Field Value

string

ThreadRunCancelled

Occurs when a run is cancelled.

Data type is a Run.

public const string ThreadRunCancelled = "thread.run.cancelled"

Field Value

string

ThreadRunCancelling

Occurs when a run moves to a cancelling status.

Data type is a Run.

public const string ThreadRunCancelling = "thread.run.cancelling"

Field Value

string

ThreadRunCompleted

Occurs when a run is completed.

Data type is a Run.

public const string ThreadRunCompleted = "thread.run.completed"

Field Value

string

ThreadRunCreated

Occurs when a new run is created.

Data type is a Run.

public const string ThreadRunCreated = "thread.run.created"

Field Value

string

ThreadRunExpired

Occurs when a run expires.

Data type is a Run.

public const string ThreadRunExpired = "thread.run.expired"

Field Value

string

ThreadRunFailed

Occurs when a run fails.

Data type is a Run.

public const string ThreadRunFailed = "thread.run.failed"

Field Value

string

ThreadRunInProgress

Occurs when a run moves to an in_progress status.

Data type is a Run.

public const string ThreadRunInProgress = "thread.run.in_progress"

Field Value

string

ThreadRunIncomplete

Occurs when a run ends with status incomplete.

Data type is a Run.

public const string ThreadRunIncomplete = "thread.run.incomplete"

Field Value

string

ThreadRunQueued

Occurs when a run moves to a queued status.

Data type is a Run.

public const string ThreadRunQueued = "thread.run.queued"

Field Value

string

ThreadRunRequiresAction

Occurs when a run moves to a requires_action status.

Data type is a Run.

public const string ThreadRunRequiresAction = "thread.run.requires_action"

Field Value

string

ThreadRunStepCancelled

Occurs when a run step is cancelled.

Data type is a RunStep.

public const string ThreadRunStepCancelled = "thread.run.step.cancelled"

Field Value

string

ThreadRunStepCompleted

Occurs when a run step is completed.

Data type is a RunStep.

public const string ThreadRunStepCompleted = "thread.run.step.completed"

Field Value

string

ThreadRunStepCreated

Occurs when a run step is created.

Data type is a RunStep.

public const string ThreadRunStepCreated = "thread.run.step.created"

Field Value

string

ThreadRunStepDelta

Occurs when parts of a run step are being streamed.

Data type is a RunStepDelta.

public const string ThreadRunStepDelta = "thread.run.step.delta"

Field Value

string

ThreadRunStepExpired

Occurs when a run step expires.

Data type is a RunStep.

public const string ThreadRunStepExpired = "thread.run.step.expired"

Field Value

string

ThreadRunStepFailed

Occurs when a run step fails.

Data type is a RunStep.

public const string ThreadRunStepFailed = "thread.run.step.failed"

Field Value

string

ThreadRunStepInProgress

Occurs when a run step moves to an in_progress state.

Data type is a RunStep.

public const string ThreadRunStepInProgress = "thread.run.step.in_progress"

Field Value

string