AILanguageCompanion / README_en.md
koura718's picture
Copy to github 1st
aa04092

A newer version of the Streamlit SDK is available: 1.45.1

Upgrade

MyChatMe - Multilingual AI Chat Application

Built with Streamlit Python 3.12 License: MIT

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

  1. Clone the repository:
git clone https://github.com/yourusername/mychatme.git
cd mychatme
  1. Install dependencies:
pip install -r requirements.txt
  1. Set environment variables:
# Create .env file
OPENAI_API_KEY=your_openai_api_key
OPENROUTER_API_KEY=your_openrouter_api_key
  1. Start the application:
streamlit run main.py

πŸ’‘ Usage

  1. Language Selection:

    • Choose English/Japanese from the sidebar
  2. AI Model Selection:

    • Choose between GPT-4, Gemini-2.0, and Claude-3.5
    • Select based on each model's strengths
  3. Prompt Templates:

    • Create and save templates
    • Load saved templates
    • Edit and delete templates
  4. Chat History Management:

    • Export chat content (MD/PDF)
    • Timezone-aware history management
  5. 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

  1. Fork this repository
  2. Create a new branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Create a Pull Request

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

πŸ“ž Support

If you have any issues or suggestions, please let us know in the GitHub Issues section.