Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API module Google::Cloud::Ces::V1beta::ArtifactChunk::State.
Lifecycle position of this chunk within the artifact's stream.
Constants
STATE_UNSPECIFIED
value: 0
Unused default.
STARTED
value: 1
The assistant started generating the artifact.
DELTA
value: 2
A content increment; content_delta is set.
FINALIZED
value: 3
The artifact was persisted; gcs_uri is set.
FAILED
value: 4
Generation or persistence failed; the artifact was not saved.
CLOSED
value: 5
The document finished streaming: its content was fully delivered via
content_delta chunks. Persistence may still follow; a FINALIZED chunk
with a gcs_uri is sent if and when the artifact is saved.