Member Junction
    Preparing search index...

    What a classifier is given.

    interface ClassifyRequest {
        ContentSourceID?: string;
        ContextUser: UserInfo;
        Parameters: Readonly<Record<string, string>>;
        Provider: IMetadataProvider;
        RecordID: string;
        Signal: AbortSignal;
        Text: string;
        Title: string;
        ReportProgress(message: string): void;
    }
    Index

    Properties

    ContentSourceID?: string

    The Content Source it belongs to, so a classifier can read what the source and its content type say about classifying it — tag counts, attributes, classification context.

    ContextUser: UserInfo

    The acting user.

    Parameters: Readonly<Record<string, string>>

    The source's type-specific settings.

    The provider to read through.

    RecordID: string

    The Content Item being classified.

    Signal: AbortSignal

    Fires when the run is asked to stop.

    Text: string

    The text to classify.

    Title: string

    The record's title, when it has one — often the strongest short signal.

    Methods