<commit_before>MESSAGE PASSING API
===================

This defines the message passing API between the conversation server and the web client.


Overview
--------

Shows event names. Replies and most parameters are omitted.


SERVER                CLIENT

                      connect
                      disconnect
                      list_channels
                      list_users (channel)
                      list_conversations (channel)
                      join (channel)
                      send_channel (channel)
                      send_conversation (channel, conversation)
disconnect
receive_channel
receive_conversation


JSON format convention
----------------------<commit_msg>API: Indent code for RST<commit_after>MESSAGE PASSING API
===================

This defines the message passing API between the conversation server and the web client.


Overview
--------

Shows event names. Replies and most parameters are omitted.


    SERVER                CLIENT

                          connect
                          disconnect
                          list_channels
                          list_users (channel)
                          list_conversations (channel)
                          join (channel)
                          send_channel (channel)
                          send_conversation (channel, conversation)
    disconnect
    receive_channel
    receive_conversation


JSON format convention
----------------------
{'fraction_non_alphanumeric': 0.09066121336059986, 'fraction_numerical': 0.0, 'mean_word_length': 1.3639291465378423, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3890218', 'n_tokens_mistral': 313, 'n_tokens_neox': 284, 'n_words': 102}