Table of Contents

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 = 0

The default value. This value is used if the state is omitted.

PROCESSING = 1

File is being processed and cannot be used for inference yet.

ACTIVE = 2

File is processed and available for inference.

FAILED = 3

File failed processing.

See Also