The package generates important phrases on analysing several conversations using LLMs of user choice.These phrases aides in understanding the trend of the past conversations for the company to plan their future goals or gain insights. Additionally these phrases provide extra information that can be used in downstream task.
Follow the below steps in order to use this package.
- Import the package
from ConversationalInformationExtractor.ConversationalImportantPhraseGenerator import ConversationalImportantPhraseGenerator
- Create an instance of the class
important_phrase_extractor = ConversationalImportantPhraseGenerator()
- Call the main function for processing the list of conversations
res = important_phrase_extractor(<list of conversations where each conversation can be a list or single string.>)
- The result of the call would provide the important phrases from all the list of conversations.