Alternatives of sold-out items based on AI recommendations

AI implementation and creation of an algorithm to suggest alternative menu items to restaurant customers

Industry:
Food and beverage
Country:
United States

Client

Under a non-disclosure agreement (NDA)

Business challenges

  • Loss of immediate sales due to unavailable products
  • Negative impact on customer loyalty

Our solutions

  • Implementation of AI-driven recommendations to suggest alternatives for sold-out items
  • Integration of the AI solution with the main system

Project description

Initially, we developed a proof of concept (PoC) that leveraged AI to identify the most suitable alternative items on the menu. The engineering team then collaborated with the R&D division to test the developed algorithms and models, ultimately selecting the optimal one.

We implemented a robust backend in PHP to handle data processing and interfacing with the OpenAI and Pinecone APIs. These APIs analyze the attributes of sold-out items and identify suitable alternatives. On the frontend, we used JavaScript, Vue2, and Vuex to retrieve this data via an API and dynamically render alternative products when the original item is unavailable.

To ensure a seamless and responsive user interface, we utilized Sass for styling, enhancing the visual appeal and usability of the product suggestions. This modular approach allowed us to create a highly flexible and scalable solution, easily integrated into the existing platform and adaptable to future requirements.

Technology stack

  • JavaScript
  • PHP
  • Vuex
  • Vue2
  • OpenAI
  • Pinecone
  • Sass

Key activities

Results

Platform users gained enhanced functionality to safeguard sales and improve customer loyalty. The implementation of AI simplified algorithm development, resulting in reduced implementation costs and increased operational efficiency

    two smiling men are sitting at the table with laptops

    Enhance your customers' digital experience

    By submitting this form I confirm that I have read and accepted the Privacy Policy