Thankly SDK for JavaScript
    Preparing search index...

    Interface ProductRecommendation

    A product recommendation from the catalog_recommendations capability

    interface ProductRecommendation {
        accepted?: boolean;
        confidence: number;
        product: CatalogProduct;
        productId: string;
        reasoning: string;
    }
    Index
    accepted?: boolean

    Number of signals accepted.

    confidence: number

    How strongly the model backs this recommendation, 0–1.

    The recommended product.

    productId: string

    Catalog product identifier.

    reasoning: string

    Why this was recommended, in the model's words.