Enum FileState
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
States for the lifecycle of a File.
[JsonConverter(typeof(JsonStringEnumConverter<FileState>))]
public enum FileState
- Extension Methods
Fields
STATE_UNSPECIFIED = 0The default value. This value is used if the state is omitted.
PROCESSING = 1File is being processed and cannot be used for inference yet.
ACTIVE = 2File is processed and available for inference.
FAILED = 3File failed processing.