Discover and explore top open-source AI tools and projects—updated daily.
kaymen99AI agents automate customer support emails
Top 98.1% on SourcePulse
This project addresses the challenge of customer support email overload by automating management, categorization, and response generation using multiple AI agents and Retrieval-Augmented Generation (RAG). It targets businesses seeking to enhance customer communication efficiency and personalization, ultimately improving customer satisfaction by reducing response times and errors.
How It Works
The system leverages Langchain and Langgraph to orchestrate a workflow of specialized AI agents. These agents continuously monitor a Gmail inbox, categorizing incoming emails into predefined types like 'customer complaint,' 'product inquiry,' or 'unrelated.' For inquiries, RAG is employed to fetch accurate information from business documents, enabling the generation of precise responses. Draft emails for complaints and feedback are also generated, with all outgoing communications undergoing an AI-driven quality assurance check for relevance and formatting before being sent.
Quick Start & Requirements
pip install -r requirements.txt..env file with MY_EMAIL, GROQ_API_KEY, and GOOGLE_API_KEY. Ensure the Gmail API is enabled and credentials are set up.python main.py to start the email automation workflow. Deploy as an API using python deploy_api.py (accessible at localhost:8000, with docs at /docs and a playground at /playground).Nodes class, adjust prompts in the src/ directory, or add custom data to the data/ folder and rebuild the vector store using python create_index.py.Highlighted Details
Maintenance & Community
Contributions are welcomed via GitHub issues or pull requests. Direct contact is available via email at aymenMir1001@gmail.com for questions or suggestions.
Licensing & Compatibility
The provided README does not specify a software license. This lack of explicit licensing information may present compatibility concerns for commercial use or integration into closed-source projects.
Limitations & Caveats
The system's functionality is dependent on the availability and configuration of multiple external APIs (Groq, Google Gemini, Gmail API), requiring users to obtain and manage their own API keys and credentials. The absence of a defined license is a notable caveat for potential adopters, particularly in enterprise environments.
1 year ago
Inactive