TurnMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)Turn-level metadata and intent categorization.
Attributes |
|
|---|---|
| Name | Description |
contract_related |
bool
Indicates whether this assistant turn was contract-related (e.g. contract drafting, alignment, extraction, or revision). |
contract_finalized |
bool
Set on the final artifact event of a turn whose contract draft was published (a revision was activated). Terminal for the clarification flow of this draft: contract_progress is authoritative and complete. |
contract_streaming_phase |
google.cloud.ces_v1beta.types.TurnMetadata.ContractStreamingPhase
Set only on in-flight progress estimates emitted while a contract artifact fence is streaming, and on the revision-turn-start event. Unset on authoritative payloads. |
contract_draft_complete |
bool
Set on the terminal event of a contract draft whose every placeholder is resolved (contract_progress is 100%), whether or not the draft was published. Clients complete and dismiss the contract progress display on it; publication is reported separately by contract_finalized. |
Classes
ContractStreamingPhase
ContractStreamingPhase(value)Streaming phase of the contract progress payload.