export chat history using element
This commit is contained in:
parent
2fcda33cf8
commit
99b70ab839
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue