Summarize Text in Python using ChatGPT

In this video we integrate Chat GPT with Python in order to do three different NLP related tasks around text clean up and text summarization.
First we build a sentence averager that is able to take in a list of sentences and return a single summary sentence that represents the whole group.
Second, we build a straight up abstractive text summarizer that simply reads in a long piece of input text and returns a condensed summary.
And finally, we build a method that is able to take in a list of job titles (which are often messy and unstandardized) and return back a single job title that represents the entire group. Basically, when you have a bunch of versions of the same job title written in slightly different ways, this method allows you to collapse them down into a single representative job title. Note that this can be done on text data other than job title, perhaps you do it on customer names or products or other free text fields.
Link to git hub:
https://github.com/michaelgcortes/text-summarization-in-python-using-chatgpt