@squidcloud/client
    Preparing search index...

    Interface AiKnowledgeBaseGraphConfig

    Per-knowledge-base GraphRAG configuration. Opt-in and mutable (unlike embeddingModel/vectorDbType); only honored for vectorDbType:'mongoAtlas' KBs. Enabling it on a KB that already has content backfills the graph automatically (a debounced structural build runs once the KB goes quiet); the rebuildGraph endpoint remains available for an immediate or full rebuild.

    interface AiKnowledgeBaseGraphConfig {
        autoBuildDebounceMs?: number;
        autoBuildPaused?: boolean;
        concepts?: AiKnowledgeBaseGraphConceptsConfig;
        enabled: boolean;
        entityTypes?: string[];
        extractionModel?: AiChatModelSelection;
        structuralBuildCatchUpMs?: number;
        structuralBuildSchedule?: string;
        structuralBuildTimeZone?: string;
    }
    Index
    autoBuildDebounceMs?: number

    Quiet window (milliseconds) after the last graph activity before the sweep auto-builds the structure. Must be a positive integer, and is floored at 3 seconds — a shorter window is not servable. Defaults to the server's window (5 minutes); the sweep cadence (1 minute) bounds how promptly an elapsed window is picked up.

    autoBuildPaused?: boolean

    When true, the sweep starts no automatic build for this KB, entity resolution included: activity keeps arming the build, and the first quiet window after the flag is cleared runs it. rebuildGraph stays available. To hold only the structural build, use structuralBuildSchedule. Defaults to false.

    Concept-layer (facet taxonomy) configuration. Omitted ⇒ facets: 'auto'.

    enabled: boolean

    When true, ingestion extracts an entity/relationship graph and searchMode:'graph' becomes available.

    entityTypes?: string[]

    Optional domain taxonomy hint (entity types) injected into the extraction prompt.

    extractionModel?: AiChatModelSelection

    Chat model used for per-chunk entity/relationship extraction. Defaults to the server's graph model.

    structuralBuildCatchUpMs?: number

    How long after a cron slot its structural build may still start (milliseconds); past it, the build waits for the next slot. Must be a positive integer. Omitted ⇒ the server's default (3 hours).

    structuralBuildSchedule?: string

    When the sweep may start an automatic structural build: 'debounced' (one quiet window after activity), 'off' (manual rebuildGraph only) or a 5-field cron expression. Entity resolution keeps running either way. Omitted ⇒ the server's default, 'debounced' unless the deployment sets one.

    structuralBuildTimeZone?: string

    IANA time zone of a cron structuralBuildSchedule, e.g. 'America/Los_Angeles'. Omitted ⇒ the server's default (UTC).