Giter Site home page Giter Site logo

astrabolt's Introduction

Astrabolt Demo

This is a demo of fictitious e-commerce site based on BestBuy's Open Data Set product catalog. It showcases how Astra DB's vector search capabilities can be utilized to power Generative AI experiences for an e-commerce use case.

It uses the latest@datastax/astra-db-ts SDK, and it integrates transparently with langchain and Google's multimodalmultimodalembedding@001 (Gemini) to power semantic search via voice, text, or images.

Screenshot of Astrabolt Frontend

Use Cases Showcased

  • Product Catalog: The entire product catalog is stored on Astra DB, and its used not only for semantic search but also for retrieving the product catalog. It suppors filtering based on any product attribute, as well as modifying the number of results.
  • Featured Products: This uses historical user queries to do semantic search of similar products in the product catalog. Those are presented to the user under the Featured page. Currently this uses a list of strings that can be customized by modifying the file astrabolt-frontend-js/src/data/previousSearches.json. In the future this can be changed to actual user queries stored in the DB, or additional data points from user's behavior.
  • Search: The search input allows the user to use text, an image, or voice as the input for the query. This query is then vectorized using Google's Gemini, and used for Semantic Search via langchain and AstraDBVectorStore.

Getting Started

The application uses Astra DB as the Vector Store, and it has a frontend built in React JS, and a backend built in express. Here's a simplified architecture diagram for your reference.

Astrabolt Architecture

Follow these steps to get started with this demo.

  1. Run through the Astrabolt - Load Products Notebook. It will use ragstack-ai to create the collections needed for the demo, and load the dataset from BestBuy's Open Data Set.
  2. Follow instructions in the backend readme to start the backend.
  3. Follow instructions in the frontend readme to start the frontend.

astrabolt's People

Contributors

jdabello avatar mangatrai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.