Member Junction
    Preparing search index...

    This class implements the API calls to the rasa.io Rex Recommendation engine and will save results into the MJ Recommendations/Recommendation Items tables.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    MaxProbability: number = 1
    MinProbability: number = 0

    Accessors

    • get ContextUser(): UserInfo

      Returns UserInfo

    • get Provider(): IMetadataProvider

      Optional metadata provider override. Callers should set instance.Provider = providerToUse before invoking provider methods in multi-provider contexts. Falls back to the global default provider when unset.

      Returns IMetadataProvider

    • set Provider(value: IMetadataProvider): void

      Parameters

      Returns void

    Methods

    • Ensures that the probability param is within the min and max params.

      Parameters

      • probability: number

        The probability to clamp

      • minValue: number

        The minimum value the probability can be

      • maxValue: number

        The maximum value the probability can be

      Returns number

      The clamped probability