Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voice E-commerce Search

A multimodal voice e-commerce interface architected for the ONDC-GCP Hackathon. This project streamlines product search and chat functionalities by integrating state-of-the-art AI models, driving a 60% reduction in overall user search time.

Key Features & Accomplishments

  • Multimodal AI Integration: Incorporates Whisper (achieving 95% accuracy for speech-to-text), LLaMA-2, and LLaVA into core backend services.
  • Robust Backend Architecture: Powered by Express.js and Supabase, featuring 5+ REST APIs to manage e-commerce search and conversational functionalities.
  • Scalable Serverless Deployment: Services are containerized using Docker and designed for deployment to Google Cloud Run, ensuring scalable concurrent request handling.

Project Structure

.
├── client/                 # Frontend application source code
├── server/                 # Express.js backend and API routes
└── docker-compose.yaml     # Container orchestration for the backend server and Ollama

Pictures

image image

Tech Stack

  • Backend: Node.js, Express.js, Supabase
  • AI/ML: Whisper, LLaMA-2, LLaVA, Ollama
  • DevOps: Docker, Docker Compose, Google Cloud Run

Prerequisites

  • Node.js and npm
  • Docker and Docker Compose
  • NVIDIA GPU with drivers installed (required for Ollama GPU acceleration as defined in docker-compose.yaml)

Getting Started

1. Environment Setup

Ensure you have your environment variables configured. Create a .env file in the server/ directory containing necessary API keys and Supabase credentials.

2. Start Backend and AI Services (Docker)

The docker-compose.yaml file is configured to spin up the Node server on port 6969 and the Ollama AI service on port 11434 with NVIDIA GPU reservations.

From the root of the project, run:

docker-compose up --build

3. Start Frontend

Open a new terminal window, navigate to the client/ directory, install dependencies, and run the development server:

cd client
yarn install
yarn dev

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages