Compare commits

...

2 commits

Author SHA1 Message Date
array-in-a-matrix abb29fd42a changed python module 2022-08-15 19:03:20 -04:00
array-in-a-matrix ce60a3f78c ignore aitextgen folder and training files 2022-08-15 19:02:25 -04:00
2 changed files with 7 additions and 3 deletions

4
.gitignore vendored
View file

@ -156,7 +156,9 @@ cython_debug/
# ignore folders
node_modules
aitextgen
# ignore files
config.json
storage.json
storage.json
training-*.txt

View file

@ -4,14 +4,16 @@ Matrix bot that generates messages based off of messages of other users using a
## Development 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 grabs text generated by the `textgen.py` file.
Install JavaSript SDK:
```sh
pnpm add matrix-bot-sdk
> pnpm add matrix-bot-sdk
```
Install Python module:
```sh
pip3 install textgenrnn
> pip3 install aitextgen
```