@squidcloud/client
    Preparing search index...

    Interface RebuildKnowledgeBaseGraphRequest

    Request structure for enqueuing a GraphRAG rebuild/backfill of a knowledge base.

    interface RebuildKnowledgeBaseGraphRequest {
        ignoreActiveBulkJobs?: boolean;
        knowledgeBaseId: string;
        mode?: KnowledgeBaseGraphRebuildMode;
    }
    Index
    ignoreActiveBulkJobs?: boolean

    When true, starts the rebuild even while a bulk-ingestion job on the KB is still active. Off by default: such a rebuild is refused (GRAPH_REBUILD_BLOCKED_BY_BULK_JOB) because it re-extracts the contexts the job is still merging. Set it for a job that is wedged (its pod died and its deadline has not passed) when cancelling the job is not an option.

    knowledgeBaseId: string

    The id of the AiKnowledgeBase.

    What to recompute (see KnowledgeBaseGraphRebuildMode). Default 'structural'.