From 99b70ab839f324ce9d365f8c0c33a1cc8c2aab08 Mon Sep 17 00:00:00 2001 From: array-in-a-matrix Date: Tue, 16 Aug 2022 01:27:53 -0400 Subject: [PATCH] export chat history using element --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f22b824..3f19db6 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ Client has started! ... ``` +If you do not want to wait until the bot creates its own dataset from new messages, you can export chat history easily using [Element](https://element.io/blog/element-1-9-1-export-is-finally-here/). In this case, you will need to manually remove the time stamps from the text file. + ## Setup The project is split into 2 parts `index.js` and `textgen.py`. The `index.js` file contains the code that interacts with the user on Matrix and sends text generated by the `textgen.py` file. @@ -44,7 +46,7 @@ Before a bot can be used the fields in the `config.json` file must be populated ► user* ⇢ Account's User ID. -► file ⇢ Path of file used for training the AI. +► file ⇢ Path of file used for training the AI (.txt file only). ► prefix ⇢ Bot listens to commands that start with this prefix.