Thanks to visit codestin.com
Credit goes to github.com

Skip to content

codewhyofficial/building-on-murf-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Multilingual Voice Mobile Assistant πŸŽ€πŸ“±

A sophisticated AI-powered multilingual voice assistant for mobile phone sales, featuring real-time speech-to-text, multilingual response generation, and text-to-speech capabilities.

Python FastAPI React Pinecone Multilingual

🌟 Features

πŸ—£οΈ Voice Interaction

  • Real-time Speech-to-Text in 15+ languages
  • Multilingual Text-to-Speech output with Murf AI integration
  • Voice-controlled mobile shopping experience
  • Browser-based voice recognition

🌍 Multilingual Support

  • English (Default)
  • Hindi (ΰ€Ήΰ€Ώΰ€‚ΰ€¦ΰ₯€) - hi-IN-kabir voice
  • Korean (ν•œκ΅­μ–΄) - ko-KR-gyeong voice
  • Japanese (ζ—₯本θͺž) - ja-JP-kenji voice
  • Chinese (δΈ­ζ–‡) - zh-CN-tao voice
  • Spanish (EspaΓ±ol) - es-ES-elvira voice
  • 10+ additional languages with native voice outputs

πŸ€– AI Capabilities

  • Gemini AI-powered conversational agent
  • Smart product search with Pinecone vector database
  • Personalized deal generation based on conversation context
  • Natural language understanding for mobile sales

πŸ›οΈ E-commerce Features

  • Mobile product catalog with detailed specifications
  • Intelligent product recommendations
  • Dynamic discount generation
  • Visual product displays with images
  • Advanced negotiation capabilities that create personalized shopping experiences

πŸ™ Acknowledgments

This project would not have been possible without the following amazing technologies and services:

πŸ€– AI & Machine Learning

  • Google Gemini AI - For providing powerful multilingual language capabilities and intelligent conversational AI
  • Murf AI - For high-quality, natural-sounding text-to-speech services across multiple languages
  • Pinecone - For robust vector database infrastructure enabling intelligent product search

πŸ› οΈ Frameworks & Libraries

  • LangChain - For the comprehensive AI agent framework that powers our conversational workflows
  • FastAPI - For the high-performance, modern web framework that makes our API development efficient
  • React - For the declarative and component-based frontend library
  • Vite - For the fast build tool and development server

πŸ—£οΈ Speech Technologies

πŸ“Š Data & Infrastructure

  • Pydantic - For data validation and settings management using Python type annotations
  • Uvicorn - For the lightning-fast ASGI server implementation
  • Hugging Face - For embeddings models and transformer resources

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

MURF_API_KEY

GOOGLE_API_KEY

PINECONE_API_KEY

MURF_VOICE_ID (optional - defaults to en-US-natalie)

PINECONE_INDEX_NAME (optional - defaults to mobile-phones)

Installation

Clone the repository

git clone https://github.com/codewhyofficial/building-on-murf-challenge.git
cd building-on-murf-challenge

Backend setup

cd backend
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt

Frontend setup

cd ../frontend
npm install

Project Structure

multilingual-voice-assistant/
β”œβ”€β”€ backend/                    # FastAPI Backend Application
β”‚   β”œβ”€β”€ agent.py               # AI Agent Workflows
β”‚   β”œβ”€β”€ tools.py                 # LangChain Tools
β”‚   β”œβ”€β”€ vector_store.py          # Pinecone Integration
β”‚   β”œβ”€β”€ schemas.py               # Pydantic Models
β”‚   β”œβ”€β”€ main.py                # FastAPI Application Entry Point
β”‚   β”œβ”€β”€ config.py              # Configuration Settings
β”‚   β”œβ”€β”€ requirements.txt       # Python Dependencies
β”‚   └── .env                   # Environment Variables
β”‚
β”œβ”€β”€ frontend/                  # React Frontend Application
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/        # React Components
β”‚   β”‚   β”œβ”€β”€ hooks/             # Custom React Hooks
β”‚   β”‚   β”œβ”€β”€ utils/             # Utility Functions
β”‚   β”‚   β”œβ”€β”€ App.jsx            # Main App Component
β”‚   β”‚   └── main.jsx           # Application Entry Point
β”‚   β”œβ”€β”€ package.json
β”‚   β”œβ”€β”€ vite.config.js
β”‚   └── index.html
β”‚
β”œβ”€β”€ data/                      # Sample Data Files
β”œβ”€β”€ .gitignore
β”œβ”€β”€ Dockerfile
β”œβ”€β”€ docker-compose.yml
└── README.md

🀝 Contributing

We welcome contributions from the community! Whether you're fixing bugs, adding new features, or improving documentation, your help is appreciated.

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •