Skip to content

RocketChat/Apps.Chat.Summarize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 

Repository files navigation

chat-summarizer-illustration

Rocket.Chat AI Chat Summarizer App

We all get the annoying moments of scrolling through 80+ unread messages. With the AI chat summarizer, these headaches become the past. This AI app quickly turns messages in channels, DMs, or threads into a concise summary, boosting productivity for Rocket.Chat users.

chat-summarizer-illustration

Features 🚀

  • Summarize messages in channel / DM / thread
  • Capture assigned tasks & participant summary in dialogue
  • Suggest follow-up questions for quick reply
  • Provide file summary of messages attachments
  • Support custom LLM selection
  • Detect and block malicious prompt injection
  • New filtering options to summarize messages by time:
    • Summarize messages from today with /chat-summary today
    • Summarize messages from the current week with /chat-summary week
    • Summarize all unread messages with /chat-summary unread
  • Summarize messages by specific users with /chat-summary @username or multiple users like /chat-summary @username1 @username2
  • Get help with the following commands:
    • /chat-summary help – Displays the welcome message and Frequently Asked Questions.
    • /chat-summary help <question> – Provides an answer from the AI.

    How to set up 💻

    1. Have a Rocket.Chat server ready. If you don't have a server, see this guide.
    2. Install the Rocket.Chat Apps Engline CLI.
        npm install -g @rocket.chat/apps-cli
      

      Verify if the CLI has been installed

      rc-apps -v
      # @rocket.chat/apps-cli/1.4.0 darwin-x64 node-v10.15.3
      
    3. Clone the GitHub Repository
    4.    git clone https://github.com/RocketChat/Apps.Chat.Summarize.git
      
    5. Navigate to the repository
    6.    cd Apps.Chat.Summarize
      
    7. Install app dependencies
    8.   cd app && npm install
      
    9. To install private Rocket.Chat Apps on your server, it must be in development mode. Enable Apps development mode by navigating to Administration > General > Apps and turn on "Enable development mode".
    10. Deploy the app to the server
    11. rc-apps deploy --url <server_url> --username <username> --password <password>
      
      • If you are running server locally, server_url is http://localhost:3000. If you are running in another port, change the 3000 to the appropriate port.
      • username is the username of your admin user.
      • password is the password of your admin user.
    12. Open the App, by navigating to Administration > Marketplace > Private Apps. You should see the app listed there. Click on the App name to open the app.
    13. Select the Settings tab and enter the LLM API Host URL. This is the URL of the LLM API you want to use. For example, if you are using OpenAI's GPT-3.5, the URL would be https://api.openai.com . If you are using a different LLM, enter the appropriate URL. Without any suffixes.
    14. If the LLM provider requires an API key, enter the API key in the API Key field. This is required for authentication with the LLM provider. Local deployments usually don't require an API key.

    How to use 💬

    Once setup is completed, type /chat-summary in the chat box of any channel / DM / thread, and you will see a summary of the messages like the one below.

    Screenshot 2024-08-21 at 11 08 47 PM

    New Filtering Commands:

    To summarize messages based on specific timeframes or unread messages, you can now use the following commands:

    • /chat-summary today – Summarize messages from today.
    • /chat-summary week – Summarize messages from the current week (past 7 days).
    • /chat-summary unread – Summarize all unread messages for the user.
    • /chat-summary @username – Summarize messages from a specific user.
    • /chat-summary @username1 @username2 – Summarize messages from multiple users.

    Help Command:

    - /chat-summary help – Displays the welcome message and Frequently Asked Questions. - /chat-summary help < question > – Provides an answer from the AI.

    Support us ❤️

    If you like this project, please leave a star ⭐️. This helps more people to know this project.

    About

    Summarize Rocket.Chat threads

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published