Genkit JS API reference
    Preparing search index...

    Type Alias SessionSnapshotInput<S>

    SessionSnapshotInput: Omit<SessionSnapshot<S>, "snapshotId"> & {
        snapshotId?: string;
    }

    Input type for SessionStore.saveSnapshot.

    Identical to SessionSnapshot except that snapshotId is optional. When omitted the store is responsible for assigning a new identifier (enabling stores to encode grouping or routing information in the ID). When provided the store performs an upsert - updating the existing snapshot.

    Type Parameters

    • S = unknown