πŸ’¬ Real-time chat application prototype that can summarise the entire chat log

Overview

Chat summarizer πŸ“

Disclaimer! This is a prototype and a fun project that I've been working on and it is not ready for production. It was done in a few days to experiment and play with new technologies for me.

Introduction

Sometimes you need to share a chat with a friend, maybe to gossip a little bit, maybe just laugh at what others write to you or you want to share a 2-page long explanation from your divorced wife why you are the worst human being. Probably you will start copying text from your WhatsUp or Telegram account or maybe you will do some screenshots and then you will send it to your bestfriend.

But this approach is not sustainable and it is very time-consuming. Your friend must be up-to-date with your personal life latest news. It is possible to invoke Feodor Dostoevsky or Mark Twain to narrate in 3-4 sentences your stupid, non-sense conversation? Well, the answer is YES. What you need is just an emotionless and rigorous AI model that will interpret your chat log and will summarize from a third-person perspective the entire conversation.

What AI?

That emotionless but rigorous AI that I've been mentioned earlier is just a awesome Python library called HuggingFace πŸ€— Transformers that helps engineers to build better Machine Learning solutions by using state-of-the-art models. The advantage of this library over other libraries/frameworks are the following:

  • Provides thousands of pre-trained models to perform different tasks like text classification, text generation, object detection & segmentation, and even audio tasks like speech recognition.
  • Easy to use since it provides a low barrier to entry for practitioners
  • Backed by TensorFlow, PyTorch, or JAX.
  • Did I mention a simple API called pipeline that even a simple developer can use without knowing any math or statistics?

A brief demonstration

1) User enter his name

username

2) The chat conversation is happening and the user requests summarization

chat

3) The output of the summarization appears on thre screen

summary

The model

To perform the summarization task I used a pretrained model called lidiya/bart-large-xsum-samsum which is based on Facebook's BART large CNN model and it was trained on 16K chat logs dataset called samsun

You might also like...

NodeJS application to upload an image to a S3 Bucket on AWS.

NodeJS application to upload an image to a S3 Bucket on AWS.

node-upload-image-to-s3-bucket NodeJS application to upload an image to a S3 Bucket on AWS. How it works: You must make a POST request to /upload-imag

Sep 28, 2022

RANDM - a dating application that helps users find matches through randomization

RANDM - a dating application that helps users find matches through randomization

RANDM - The Random Dating App RANDM is a dating application that helps users find matches through randomization. While other dating apps on the market

Oct 31, 2022

A simple server application that allows you to perform Wake-on-LAN remotely with a web interface

WoL Helper A simple server application that allows you to perform Wake-on-LAN remotely with a web interface. Usage Install: npm install -g wol-helper

Jul 27, 2022

NestJS module for adding translations to the application, with a pipe for translating validation errors

nestjs-translates NestJS module for adding translations to the application, with a pipe for translating validation errors Installation npm i --save ne

Jul 26, 2022

A PHP Laravel web application that uses most of Laravel technologies to build that gym system

A PHP Laravel web application that uses most of Laravel technologies to build that gym system

A PHP Laravel web application that uses most of Laravel technologies to build that gym system.The System is based on rules. Admin, City Manager, Gym Manager. All Crud operations running using data tables.

Dec 29, 2022

⚑️The Fullstack React Framework β€” built on Next.js

⚑️The Fullstack React Framework β€” built on Next.js

The Fullstack React Framework "Zero-API" Data Layer β€” Built on Next.js β€” Inspired by Ruby on Rails Read the Documentation β€œZero-API” data layer lets y

Jan 4, 2023

Chat Loop is a highly scalable, low-cost, and high performant chat application built on AWS and React leveraging GraphQL subscriptions for real-time communication.

Chat Loop is a highly scalable, low-cost, and high performant chat application built on AWS and React leveraging GraphQL subscriptions for real-time communication.

Chat Loop Chat Loop is a highly scalable, low cost and high performant chat application built on AWS and React leveraging GraphQL subscriptions for re

Jun 20, 2022

Prototype of real-time comments and a proposal of how to make it "production-ready".

Prototype of real-time comments and a proposal of how to make it

Real-time comments prototype Simple demonstration of real-time commenting. Installation After forking it, run npm install, then you need two environme

Jan 16, 2022

:ledger: Minimal lightweight logging for JavaScript, adding reliable log level methods to wrap any available console.log methods

loglevel Don't debug with logs alone - check out HTTP Toolkit: beautiful, powerful & open-source tools for building, testing & debugging HTTP(S) Minim

Jan 6, 2023

Telegram Chatting is a web site-based two-way real-time chat communication application.

Telegram Chatting is a web site-based two-way real-time chat communication application.

Telegram Chatting is a web site-based two-way real-time chat communication application. Has features including two-way private messaging between users, searching user lists, viewing profiles between users, and updating user data.

Dec 27, 2022

This project demonstrates how you can use the multi-model capabilities of Redis to create a real-time stock watchlist application.

This project demonstrates how you can use the multi-model capabilities of Redis to create a real-time stock watchlist application.

Introduction This project demonstrates how you can use Redis Stack to create a real-time stock watchlist application. It uses several different featur

Jan 2, 2023

Create a Real-time Chat App using React and Socket.io

React And Socket.io ChatApp MIT Licence MIT License Copyright (c) 2021 Ali Ahmad Permission is hereby granted, free of charge, to any person obtaining

Jan 10, 2022

A react component helps bring Figma's Cursor Chat to your web applications in less than 3 minutes, making real-time collaboration anywhere

A react component helps bring Figma's Cursor Chat to your web applications in less than 3 minutes, making real-time collaboration anywhere

@yomo/react-cursor-chat 🧬 Introduction A react component helps bring Figma's Cursor Chat to your web applications in less than 3 minutes, making real

Nov 17, 2022

This server is made to serve the MSN-Messenger app develop by Gabriel Godoy. This applications is capable to register users and messages in order implements a real time chat.

πŸ“± MSN-Messenger-Server Node.js server for real time chat About | Installations | How to Use | Documentation | Technologies | License 😁 About This se

Dec 20, 2022

Distributed real-time chat demo on Blueboat in 15 lines of JavaScript

minichat Distributed real-time chat demo on Blueboat in 15 lines of JavaScript, Live Demo The code Router.get("/", () = new Response(` scriptconst

Aug 3, 2022

This is a full stack application where you can log all you places where you visited....-

This is a full stack application where you can log all you places where you visited....-

Full Stack Travelling Log 🌍 🎑 ✈️ This is a full stack application where you can log ✈️ your all places πŸ—½ πŸ—Ό 🚲 you have visited .... πŸ—ΊοΈ πŸ—ΊοΈ πŸ—ΊοΈ Se

Sep 29, 2022

Easily redirect one entire domain to another with a serverless Cloudflare Worker.

Easily redirect one entire domain to another with a serverless Cloudflare Worker.

Domain Redirecting with Cloudflare Workers Easily redirect one entire domain to another with a serverless Cloudflare Worker. All paths and other data

Dec 11, 2022

Build your entire project with one command πŸš€

Build your entire project with one command πŸš€

Dev Template dt --template mvc No more installing and configuring all basic dependencies manually every time you start a new project. the dev template

Nov 8, 2022

This tool uses native browser APIs to take screenshots of a given web page, tab, window, or the user's entire screen.

This tool uses native browser APIs to take screenshots of a given web page, tab, window, or the user's entire screen.

This tool uses native browser APIs to take screenshots of a given web page, tab, window, or the user's entire screen.

Jan 1, 2023
Comments
  • Awesome Sauce

    Awesome Sauce

    Hi there :) lemme say this looks awesome, I've been searching around for "summarize chat conversations python" and came across this project , seems brand new :)

    I've yet to try you're code , will check it soon , but just from the Readme it seems like you've made some ui to type up mock conversations. I'm more interested in the function that takes the chat and runs the summarization on it.

    my goal is to make a daily digest for a wa group that is really interesting but way too crowded and busy.

    at the end of evey day ill send the summary as a message in that group, then me and others can easily check if there's something interesting for us :)

    there are cool ways to get wa chat data but even copying messages from wa or wa web, and doing some formatting (automatically eventually) then saving the chat text to a variable or file, and running the model on it will be very cool to see working well.

    Thanks for being awesome and tackling this , really feeling the wonders of opensource πŸ’•

    opened by fire17 2
Owner
null
Gov.UK Prototype Kit. This repository is defined and managed in Terraform

Gov.UK Prototype Kit. This repository is defined and managed in Terraform

Ministry of Justice 4 Nov 17, 2022
This web application retrieves real live data from the SpaceX API

This web application retrieves real live data from the SpaceX API. It provides commercial and scientific space travel services, by allowing users to book rockets and join selected space missions.

Sahar Abdel Samad 12 Aug 9, 2022
A simple implementation of a task list application that can be used to add, remove, edit and check users tasks

"To-do list" is a tool that helps to organize daily activites. It simply lists the things which are needed to be done and allows user to mark them as complete. In this step of project, the CRUD (create, update, delete) methods are implemented. This simple web page is built using webpack and served by a webpack dev server.

Zahra Arshia 5 Mar 28, 2022
API routes are great for APIs, but for small projects where you have to access server data or hide application logic, you can just call a server function from the client.

API routes are great for APIs, but for small projects where you have to access server data or hide application logic, you can just call a server function from the client.

null 3 Mar 6, 2022
TikTok Livestream Chat Connector

A Node.js module to receive and decode livestream events like comments and gifts in realtime from TikTok LIVE by connecting to TikTok's internal WebCast push service.

David 395 Jan 1, 2023
Botpress Conntect connects Rocket.Chat with a Botpress chatbot

Botpress Connect What is Botpress Connect? Botpress Conntect connects Rocket.Chat with a Botpress chatbot.

Frank 9 Nov 14, 2022
⚑️ A resource to help figure out what JavaScript array method would be best to use at any given time

JavaScript Array Explorer When I was first learning array methods, I spent a lot of time digging through the docs to find the appropriate one, and I h

Sarah Drasner 2.6k Jan 2, 2023
This is a facebook messenger clone.You can comminicate to other at realtime

?? facebook-messenger This is a facebook messenger clone.You can comminicate to other at realtime ?? ⚑ LIVE To check out the live demo of this app ABO

null 22 Sep 11, 2022
TrackIt - Single Page Application that helps the user track their habits.

TrackIt - Single Page Application that helps the user track their habits. Implemented with JavaScript/React and an API server which enables the user to sign-in or sign-up in the app.

Lucas Azzolini Vieira 7 Apr 13, 2022
Insider Unlocked is an ongoing web application

Insider Unlocked is an ongoing web application we have been co-developing for the past few months which aggregates stock trading data of US senators and presents it in a digestible manner for the average retail investor

null 3 Feb 13, 2022