Spaces:
Sleeping
Sleeping
A newer version of the Streamlit SDK is available:
1.45.1
MyChatMe - Multilingual AI Chat Application
An advanced multilingual AI chat application designed to streamline cross-language communication and prompt template management.
ζ₯ζ¬θͺ | English
π Key Features
- π€ Multiple AI Model Support
- OpenAI GPT-4
- Google Gemini-2.0
- Anthropic Claude-3.5
- π Multilingual Support
- English and Japanese interfaces
- Language switching capability
- π Prompt Template Management
- Save and edit templates
- Category classification
- πΎ Chat History
- Export as Markdown
- PDF output support
- π¨ Customizable Themes
- β‘ Responsive Design
π οΈ Technology Stack
- Frontend: Streamlit
- Backend: Python 3.12
- AI Integration:
- OpenAI API
- Google Gemini API (via OpenRouter)
- Anthropic Claude API (via OpenRouter)
- Internationalization: Custom i18n system
- Data Export: ReportLab (PDF generation)
π Prerequisites
- Python 3.12 or higher
- OpenAI API key
- OpenRouter API key (for Gemini-2.0 and Claude-3.5)
π Setup
- Clone the repository:
git clone https://github.com/yourusername/mychatme.git
cd mychatme
- Install dependencies:
pip install -r requirements.txt
- Set environment variables:
# Create .env file
OPENAI_API_KEY=your_openai_api_key
OPENROUTER_API_KEY=your_openrouter_api_key
- Start the application:
streamlit run main.py
π‘ Usage
Language Selection:
- Choose English/Japanese from the sidebar
AI Model Selection:
- Choose between GPT-4, Gemini-2.0, and Claude-3.5
- Select based on each model's strengths
Prompt Templates:
- Create and save templates
- Load saved templates
- Edit and delete templates
Chat History Management:
- Export chat content (MD/PDF)
- Timezone-aware history management
Theme Customization:
- Light/Dark mode
- Color theme changes
π Security
- API credentials managed via environment variables
- Secure session state management
- Error handling and rate limiting implementation
π€ Contributing
- Fork this repository
- Create a new branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Create a Pull Request
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
- Streamlit - Amazing web application framework
- OpenAI - GPT-4 model provider
- OpenRouter - Unified AI model access
- ReportLab - PDF export functionality
π Support
If you have any issues or suggestions, please let us know in the GitHub Issues section.