Dela via


FileState Struct

Definition

The state of the file.

public readonly struct FileState : IEquatable<Azure.AI.Projects.FileState>
type FileState = struct
Public Structure FileState
Implements IEquatable(Of FileState)
Inheritance
FileState
Implements

Constructors

FileState(String)

Initializes a new instance of FileState.

Properties

Deleted

The entity has been deleted but may still be referenced by other entities predating the deletion. It can be categorized as a terminal state.

Deleting

The entity is in the process to be deleted. This state is not returned by Azure OpenAI and exposed only for compatibility. It can be categorized as an active state.

Error

The operation has completed processing with a failure and cannot be further consumed. It can be categorized as a terminal state.

Pending

The operation was created and is not queued to be processed in the future. It can be categorized as an inactive state.

Processed

The operation has successfully processed and is ready for consumption. It can be categorized as a terminal state.

Running

The operation has started to be processed. It can be categorized as an active state.

Uploaded

The file has been uploaded but it's not yet processed. This state is not returned by Azure OpenAI and exposed only for compatibility. It can be categorized as an inactive state.

Methods

Equals(FileState)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(FileState, FileState)

Determines if two FileState values are the same.

Implicit(String to FileState)

Converts a String to a FileState.

Inequality(FileState, FileState)

Determines if two FileState values are not the same.

Applies to