This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This script processes conversation data from a JSON file, extracts messages, | |
and writes them to text files. It also creates a summary JSON file with a summary | |
of the conversations. The script is designed to be run as a command-line interface (CLI), | |
allowing the user to specify the input JSON file and output directory. | |
Usage: | |
python script_name.py /path/to/conversations.json /path/to/output_directory | |
""" |