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.
- 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
- Supports 11 Indian languages (powered by Sarvam)
- 19 unique voice options (again, powered by Sarvam)
- Clone the repository:
git clone https://github.com/yourusername/pi-clone.git
- Install dependencies:
cd pi-clone
npm install
- Set up environment variables:
VITE_PUBLIC_SARVAM_API_KEY=your_api_key
VITE_OPENAI_API_KEY=your_openai_key
- Run the development server:
npm run dev
- Vite
- React
- TypeScript
- Tailwind CSS
- OpenAI API
- Sarvam AI TTS API
MIT License - feel free to use this in your own projects!
Built by Adithya Krishna