An open API service indexing awesome lists of open source software.

https://github.com/raufjatoi/multilingual-chatbot

A Chatbot That can Talk in Multiple Languages.
https://github.com/raufjatoi/multilingual-chatbot

chatbot code-sync file-upload gemini groq groq-api llm memory multilingual python react scrapping search streamlit typescript vercel vercel-deployment vite voice-recognition

Last synced: 4 months ago
JSON representation

A Chatbot That can Talk in Multiple Languages.

Awesome Lists containing this project

README

          

# 🌍 Multilingual AI Assistant

A modern chatbot that can communicate in multiple languages, powered by GROQ's Compound Beta model, delivering fast and accurate responses with advanced context awareness.

## ✨ Features
- 🤖 Powered by GROQ Compound Beta
- High-performance language model
- Fast response times
- Advanced reasoning capabilities
- Accurate multilingual support

- 💬 Chat in multiple languages:
- English
- Urdu
- Hindi
- Chinese
- Spanish
- French
- German
- Arabic
- Turkish

- 🧠 Advanced Context Awareness
- Memory feature for conversation context
- Remembers up to 5 previous messages
- Toggle memory on/off with visual indicator

- 📂 File Support
- Upload and analyze text files
- PDF document support
- Multiple file handling
- Smart file content analysis
- Context-aware document queries

- 🎙️ Voice Features
- Voice input
- Text-to-speech output

- 🔍 Enhanced Capabilities
- Web search functionality
- Web scraping for real-time information
- Context-aware responses
- Formatted responses with markdown support
- Code syntax highlighting

## 🚀 Getting Started

### Prerequisites
- Node.js (v16 or higher)
- npm or yarn
- GROQ API key

### Installation
1. Clone the repository:
```bash
git clone https://github.com/Raufjatoi/Multilingual-chatbot.git
cd Multilingual-chatbot
```

2. Install dependencies:
```bash
npm install
# or
yarn install
```

3. Create a `.env` file in the root directory:
```env
VITE_GROQ_API_KEY=your_groq_api_key
```

4. Start the development server:
```bash
npm run dev
# or
yarn dev
```

## 💻 Usage
1. Select your preferred language from the dropdown
2. Type your message or use voice input
3. Upload files for analysis and context
4. Toggle memory button for contextual conversations
5. Enable text-to-speech for spoken responses

## 🔮 Future Plans
- WhatsApp Integration
- Direct chat through WhatsApp
- File sharing support
- Voice message handling
- Website Integration
- Embeddable chat widget
- Custom styling options
- API endpoints for integration
- Enhanced Analytics
- Conversation insights
- Usage statistics
- Performance metrics

## Python Folder 📁
The Python folder was just for researching and trying out the models and features on Streamlit before working on React-Vite, so yeah, you can find some code there too if you're interested ;)

## 🛠️ Built With
- React + TypeScript
- Vite
- Tailwind
- Shadcn/ui
- GROQ Compound Beta
- React Markdown
- Syntax Highlighting

## 🤝 Contributing
Contributions, issues, and feature requests are welcome!

## 📧 Contact
Abdul Rauf Jatoi: [Gmail](mailto:raufpokemon00@gmail.com)