Package version:

Interface BaseKnowledgeBaseReference

Base type for references.

interface BaseKnowledgeBaseReference {
    activitySource: number;
    id: string;
    rerankerScore?: number;
    sourceData?: {
        [propertyName: string]: any;
    };
    type:
        | "azureBlob"
        | "searchIndex"
        | "indexedSharePoint"
        | "indexedOneLake"
        | "web"
        | "remoteSharePoint";
}

Hierarchy (view full)

Properties

activitySource: number

The source activity ID for the reference.

id: string

The ID of the reference.

rerankerScore?: number

The reranker score for the document reference.

sourceData?: {
    [propertyName: string]: any;
}

Dictionary of

type:
    | "azureBlob"
    | "searchIndex"
    | "indexedSharePoint"
    | "indexedOneLake"
    | "web"
    | "remoteSharePoint"

Polymorphic discriminator, which specifies the different types this object can be