FileState Enumeration

States for the lifecycle of a File.

Definition

Namespace: GenerativeAI.Types
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public enum FileState

Members

STATE_UNSPECIFIED0 The default value. This value is used if the state is omitted.
PROCESSING1 File is being processed and cannot be used for inference yet.
ACTIVE2 File is processed and available for inference.
FAILED3 File failed processing.

See Also