Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 2.55 KB

README.md

File metadata and controls

67 lines (48 loc) · 2.55 KB

Recommendations Module

Recommendations Module adds an extendable query to VirtoCommerce Platform that lets you display recommendations.

Overview

Recommendations Module adds XAPI product recommendations query to VirtoCommerce Platform GraphQL schema. The API provides a list of recommended products based on semantic similarities in product names and other searchable properties. The module is designed to be plug-and-play, integrating seamlessly with back-end and front-end to enhance the user experience by offering intelligent product recommendations.

image

image

Requirements

Features

  • Semantic Similarity: Utilizes Elastic Search machine learning model to recommend products that are semantically similar to the given product.
  • Customizable: Parameters such as the number of recommendations can be easily adjusted.
  • Extendable: You can extend the current related-products model or add your own custom recommendation algorithms.
  • Easy Integration: Provides a toggle setting to your store setting to enable or disable recommendations on your front-end app.

XAPI Specification

Query

query {
  recommendations(
    storeId:"Electronics"
    cultureName: "en-US"
    model: "related-products"
    productId: "Product-ID-12345"
    currencyCode: "USD"
    maxRecommendations: 5
  )
  {
    products   
    {
      id
      name
      code  
    }
  }
}

License

Copyright (c) Virto Solutions LTD. All rights reserved.

Licensed under the Virto Commerce Open Software License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://virtocommerce.com/open-source-license

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.