Skip to content

adithyaakrishna/pi-chat

Repository files navigation

Pi Clone - AI Chat Interface

A modern, responsive AI chat interface built with Vite, React, TypeScript, and Tailwind CSS. This application features multi-language support and natural text-to-speech capabilities.

✨ Features

Core Functionality

  • Real-time AI chat using OpenAI's GPT-3.5
  • Interactive chat interface with typing indicators
  • Text-to-speech using Sarvam AI's API
  • Fully responsive design (mobile, tablet, desktop)
  • Mute/Unmute voice responses
  • Quick-access option cards

Multi-Language Support

  • Supports 11 Indian languages (powered by Sarvam)

Natural Voice Support

  • 19 unique voice options (again, powered by Sarvam)

🚀 Getting Started

  1. Clone the repository:
git clone https://github.com/yourusername/pi-clone.git
  1. Install dependencies:
cd pi-clone
npm install
  1. Set up environment variables:
VITE_PUBLIC_SARVAM_API_KEY=your_api_key
VITE_OPENAI_API_KEY=your_openai_key
  1. Run the development server:
npm run dev

🛠️ Tech Stack

  • Vite
  • React
  • TypeScript
  • Tailwind CSS
  • OpenAI API
  • Sarvam AI TTS API

📝 License

MIT License - feel free to use this in your own projects!

🙏 Credits

Built by Adithya Krishna

About

Clone of PiChat Using Sarvam and OpenAI API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages