Code Monkey home page Code Monkey logo

automated-gmail-responder's Introduction

Automated Gmail Responder

Overview

This project aims to automate responses to Gmail emails using Langchain. It utilizes the OpenAI API to generate relevant responses to incoming emails.

Developers

  • Pooja Sounder Rajan
  • Ana Macavei
  • Ben Le
  • Josh Li
  • Seymour Roberts
  • Joseph Nguyen
  • Julie Nguyen
  • Hilliard Domangue
  • Israel Ayala

Getting Started

To run the project after uploading new documents, follow these steps:

  1. Run python3 ingestion.py. You will be prompted to enter your OpenAI API key.

  2. Build the Docker image:

    gcloud builds submit --timeout=900 --tag gcr.io/cs470-rag-llm/capstone
  3. Deploy the Docker image:

    gcloud run deploy capstone --image gcr.io/cs470-rag-llm/capstone --min-instances=1 --memory=1Gi --set-env-vars=OPENAI_API_KEY='YOUR_OPENAI_API_KEY'
    --region=us-west1 --allow-unauthenticated --port=8000

Chrome Extension

We have also developed a chrome extension to facilitate easier access to the automated response feature. Only users who are given the string of our chrome extension would be able to access our extension

Updating documents

Follow the steps to update the Bulletin:
Step 1: ctrl+F or cmd+F to word search the website for config.json
Step 2: Click on the config.json file
Step 3: Click on the Edit button
alt text
Step 4: Replace the URL with the updated URL
Step 5: Then commit the changes. Make sure to select Commit directly to the main branch. And then press the green commit changes button.

Follow the steps to update the FAQ:
Step 1: Export Google Document to PDF first Step 2: Go to FAQ folder
Step 3: Click on Upload files
alt text
Step 4: Choose your file and then Commit changes
Step 5: Delete the older FAQ file by clicking into the file and pressing on the three dots as shown in the screenshot. And select the option to delete the file.
alt text

Acknowledgements

Local instructions

Step 1: export OPENAI_API_KEY=... Step 2: docker build --build-arg OPENAI_API_KEY=${OPENAI_API_KEY} -f Dockerfile -t agr . Step 3: docker run -it --rm -p 8000:8000 -e OPENAI_API_KEY=${OPENAI_API_KEY} agr

automated-gmail-responder's People

Contributors

lebenpdx avatar wu4f avatar hachamge avatar macaveiana avatar wseng avatar jos47tl avatar poojasounder avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.