Email Generator using OpenAI 📧

This project is part of the TNSDC Naanmudhalvan program, Generative AI for Engineering (E2324). 🚀

Program Overview 📝

The Machine Learning to Generative AI program offers an immersive 8-week educational journey aimed at equipping students with modern skills in the rapidly evolving fields of AI and cloud. Through a project-based learning approach, participants will delve into the depths of cutting-edge technologies, enabling them to gain hands-on experience while solving real-world challenges. The program's comprehensive curriculum covers coding principles and advanced learning of various technologies, all culminating in the opportunity to obtain valuable free certificates. By fostering practical expertise and a deep understanding of the subject matter, this program empowers students to excel in the digital era and unlock promising career prospects. 🎓

Course Outcome 📚

Upon completion of the program, students will inherit:

  • Skill Enhancement: Students learn valuable skills in AI and ML, gaining proficiency in programming, data analysis, and problem-solving, making them more competitive in the job market. 💡
  • Real-world Applications: Students understand how AI and ML are used in various industries, connecting theoretical knowledge to practical applications, which enhances their problem-solving abilities. 🌐
  • Critical Thinking: AI and ML education encourages critical thinking by requiring students to analyze and interpret data, fostering a deeper understanding of the underlying algorithms and models. 🤔
  • Innovation and Creativity: Students develop a creative mindset as they explore innovative ways to apply AI and ML concepts, leading to the development of new solutions and products. 💡
  • Adaptability: Learning AI and ML prepares students for a rapidly changing technological landscape, teaching them to adapt to new tools and methodologies, which is crucial for long-term success in their careers. 🔄

Tech Stack 🛠️

  • Streamlit: Streamlit is used to build the user interface for the email generator application.
  • Python: The backend logic of the application is implemented in Python.
  • OpenAI GPT-3: OpenAI's GPT-3 language model is utilized to generate email content based on user prompts.

Features ✨

  • Generate Email: Users can input a prompt and the initial text of an email, specify the desired length, and generate the email content.
  • Send Email via Gmail: Users can send the generated email directly via Gmail by clicking on a link provided.

How to Run 🏃‍♂️

  1. Clone the repository:

    git clone https://github.com/vijaisuria/Email-Generator-OpenAI.git
    
  2. Create a virtual environment:

    python -m venv venv
    
  3. Activate the virtual environment:

    • On Windows:
      venv\bin\activate
      
    • On macOS and Linux:
      source venv/bin/activate
      
  4. Install the required packages:

    pip install -r requirements.txt
    
  5. Modify the .env.sample file with your OpenAI API key and rename it to .env.

  6. Run the Streamlit app:

    streamlit run app.py
    
  7. Access the application in your web browser at the provided URL.

Contact Links 📲