DecoLens SDK
    Preparing search index...

    Interface Preferences

    Represents the user's preferences for the recommendation. Optional.

    interface Preferences {
        priceRange?: [];
        styles?: Style[];
        tags?: string[];
    }
    Index

    Properties

    priceRange?: []

    An optional array of 2 numbers representing the preferred price range.

    styles?: Style[]

    An optioanl array of preferred styles. Maximum of 2 allowed.

    tags?: string[]

    An optional array of tags to filter by. Artworks will be returned if they match ANY of the tags specified.