@runloop/api-client - v1.4.0
    Preparing search index...

    Interface CustomScoringFunction

    CustomScoringFunction is a custom, user defined scoring function.

    interface CustomScoringFunction {
        custom_scorer_type: string;
        type: "custom_scorer";
        scorer_params?: unknown;
    }
    Index

    Properties

    custom_scorer_type: string

    Type of the scoring function, previously registered with Runloop.

    type: "custom_scorer"
    scorer_params?: unknown

    Additional JSON structured context to pass to the scoring function.