PyConverse
Let me try first
Installation
pip install pyconverse
Usage
Please try this notebook that demos the core functionalities: basic usage notebook
Introduction
Conversation analytics plays an increasingly important role in shaping great customer experiences across various industries like finance/contact centres etc... primarily to gain a deeper understanding of the customers and to better serve their needs. This library, PyConverse is an attempt to provide tools & methods which can be used to gain an understanding of the conversations from multiple perspectives using various NLP techniques.
Why PyConverse?
I have been doing what can be called conversational text NLP with primarily contact centre data from various domains like Financial services, Banking, Insurance etc for the past year or so, and I have not come across any interesting open-source tools that can help in understanding conversational texts as such I decided to create this library that can provide various tools and methods to analyse calls and help answer important questions/compute important metrics that usually people want to find from conversations, in contact centre data analysis settings.
Where can I use PyConverse?
The primary use case is geared towards contact centre call analytics, but most of the tools that Converse provides can be used elsewhere as well.
Thereβs a lot of insights hidden in every single call that happens, Converse enables you to extract those insights and compute various kinds of KPIs from the point of Operational Efficiency, Agent Effectiveness & monitoring Customer Experience etc.
If you are looking to answer questions like these:-
- What was the overall sentiment of the conversation that was exhibited by the speakers?
- Was there periods of dead air(silence periods) between the agents and customer? if so how much?
- Was the agent empathetic towards the customer?
- What was the average agent response time/average hold time?
- What was being said on calls?
and more... pyconverse might be of small help.
What can PyConverse do?
At the moment pyconverse can do a few things that broadly fall into these categories:-
- Emotion identification
- Empathetic statement identification
- Call Segmentation
- Topic identification from call segments
- Compute various types of Speaker attributes:
- linguistic attributes like: word counts/number of words per utterance/negations etc.
- Identify periods of silence & interruptions.
- Question identification
- Backchannel identification
- Assess the overall nature of the speaker via linguistic attributes and tell if the Speaker is:
- Talkative, verbally fluent
- Informal/Personal/social
- Goal-oriented or Forward/future-looking/focused on past
- Identify inhibitions
What Next?
- Improve documentation.
- Add more use case notebooks/examples.
- Improve some of the functionalities and make it more streamlined.
Built with:
Transformers | Spacy | Pytorch |
---|---|---|
Credits:
Note: The backchannel Utterance classification method is inspired by facebook's Unsupervised Topic Segmentation of Meetings with BERT Embeddings paper (arXiv:2106.12978 [cs.LG])