AIRI Server API - v0.10.2
    Preparing search index...

    Interface ContextUpdate<Metadata, Content>

    interface ContextUpdate<
        Metadata extends Record<string, unknown> = Record<string, unknown>,
        Content extends unknown = undefined,
    > {
        id: string;
        contextId: string;
        lane?: string;
        ideas?: string[];
        hints?: string[];
        strategy: ContextUpdateStrategy;
        text: string;
        content?: Content;
        destinations?: string[] | ContextUpdateDestinationFilter;
        metadata?: Metadata;
    }

    Type Parameters

    • Metadata extends Record<string, unknown> = Record<string, unknown>
    • Content extends unknown = undefined
    Index

    Properties

    id: string
    contextId: string

    Can be the same if same update sends multiple time as attempts and trials, (e.g. notified first but not ACKed, then retried).

    lane?: string
    ideas?: string[]
    hints?: string[]
    text: string
    content?: Content
    destinations?: string[] | ContextUpdateDestinationFilter
    metadata?: Metadata