Interface MemoryGenerationTriggerConfigGenerationTriggerRule (0.17.0)

Represents the active rule that determines when to flush the buffer.

Package

@google-cloud/agentplatform

Properties

eventCount

eventCount?: number;

Optional. Specifies to trigger generation when the event count reaches this limit.

fixedInterval

fixedInterval?: string;

Optional. Specifies to trigger generation at a fixed interval. The duration must have a minute-level granularity.

idleDuration

idleDuration?: string;

Optional. Specifies to trigger generation if the stream is inactive for the specified duration after the most recent event. The duration must have a minute-level granularity.

overlapEventCount

overlapEventCount?: number;

Optional. Re-include the last N already-processed events in the next window.