@squidcloud/client
    Preparing search index...

    Interface RelationshipInferenceOptions

    Options for a relationship-inference run.

    interface RelationshipInferenceOptions {
        collections?: string[];
        concurrency?: number;
        instructions?: string;
        kinds?: ("relationships" | "dependencies" | "discriminators")[];
        maxDurationMinutes?: number;
        minConfidence?: "low" | "medium" | "high";
        sampleSize?: number;
        useAi?: boolean;
        verifyOnAllRows?: boolean;
    }
    Index
    collections?: string[]

    Collections to examine, on both sides. Defaults to every collection in the schema.

    concurrency?: number

    Queries in flight at once. Defaults to 2; at most 8 and the integration's pool size.

    instructions?: string

    Instructions about the data, for the AI; given, they turn useAi on.

    kinds?: ("relationships" | "dependencies" | "discriminators")[]

    What to look for. Defaults to all three.

    maxDurationMinutes?: number

    When the run stops and keeps what it has: 60 minutes by default, or 240 with verifyOnAllRows; at most 1,440.

    minConfidence?: "low" | "medium" | "high"

    The lowest confidence written to the schema. Defaults to 'medium'.

    sampleSize?: number

    Rows sampled per collection; every finding is judged on them. Defaults to 1,000.

    useAi?: boolean

    Lets the AI propose relationships that names miss, settle close calls, and describe the associations it adds. Off by default.

    verifyOnAllRows?: boolean

    Also checks every finding on all rows, at one more query each. Off by default.