Skip to content

A pipeline I created and use in open-webui everyday, I will be updating this and porting other abilities I have from other pipelines and tools as time goes on.

Notifications You must be signed in to change notification settings

JoeLorenzoMontano/jolomo-open-webui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

🚀 JoLoMo Pipeline for Open-WebUI

📖 Overview

JoLoMo Pipeline is a specialized integration for Open-WebUI, automating insights from Email Activity, GitHub Commits, and LLM Analysis. It performs these actions automatically based on user prompts and returns summarized results.

🌟 Features:

  • 📧 Email Insights: Retrieve and summarize emails from Inbox, Sent, or Starred categories.
  • 💻 GitHub Reviews: Summarize the latest commit changes from a GitHub repository.
  • 🤖 LLM Responses: Use Open-WebUI's LLM to generate summaries and action items.
  • 🧵 Automatic Action Detection: Executes actions based on keywords in the user's request.

🛠️ Setup Guide

📂 1. Upload to Open-WebUI Pipeline

  • In Open-WebUI:
    1. Navigate to Pipelines in the UI.
    2. Click Create New Pipeline.
    3. Upload or paste the Python file into the pipeline editor.
    4. Save the pipeline.

📋 2. Configure Environment Variables

In Open-WebUI > Settings > Environment, set the following:

# 📧 Email Configuration
EMAIL_HOST=imap.gmail.com
EMAIL_USER=[email protected]
EMAIL_PASS=your-email-app-password

# 🔑 GitHub Configuration
GITHUB_API_URL=https://api.github.com/repos/yourusername/yourrepo
GITHUB_REPO=yourusername/yourrepo
GITHUB_TOKEN=your-github-personal-access-token

# 🤖 OpenWebUI API
OPEN_WEBUI_CHAT_URL=http://192.168.1.40:3000/api/chat/completions
OPEN_WEBUI_API_KEY=your-openwebui-api-key

Make sure all sensitive information is stored as environment variables.


🚀 3. Run the Pipeline

Once uploaded and configured, simply enter a command in Open-WebUI to execute the pipeline.


💻 Usage Examples

1. View Inbox Summary:

Command: "Show my inbox emails"
Output: A summary of important emails with suggested actions.

2. View Sent Emails:

Command: "Summarize sent emails"
Output: An overview of recently sent emails with follow-up reminders.

3. Review GitHub Commit:

Command: "Show me the latest GitHub commit"
Output: A detailed summary of recent code changes with LLM insights.

4. Combined Analysis:

Command: "Check my inbox and GitHub commits"
Output: A unified report from both email and GitHub analysis.


🛡️ Security Best Practices

  • Use Environment Variables: Store all sensitive data using environment variables in Open-WebUI.
  • Do Not Hard-Code Credentials: Ensure that API tokens and passwords are never hard-coded.
  • Restrict Permissions: Use tokens with the minimum required permissions.

🧩 Customization Tips

  • Modify LLM Prompts: Adjust prompts for system or user messages to suit your needs.
  • Expand Keyword Detection: Add new keywords for additional commands or actions.
  • Integrate Additional Services: Extend the pipeline to include other services like Slack or Jira.

Troubleshooting

Issue Solution
No emails returned Ensure IMAP credentials are correct.
GitHub commits not shown Verify repository access and token permissions.
LLM returns errors Check OPEN_WEBUI_API_KEY and API URL.

🚀 Now Ready to Use in Open-WebUI Pipelines – Automate Insights Effortlessly! 🧵🤖📧

About

A pipeline I created and use in open-webui everyday, I will be updating this and porting other abilities I have from other pipelines and tools as time goes on.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages