18646b9dc6
config: fix imports not working correctly
...
this patch moves the rootDir of the typescript project up a directory
this moves all content in the dist directory inside the new src directory
I couldn't find other way
2023-09-21 20:51:38 +02:00
58a054d137
Prisma: fix typo [breaking change]
...
also: bump version because of breaking change
2023-09-18 11:24:35 +02:00
c4676175ff
Update dependencies
2023-07-30 21:37:37 +02:00
bebef021fb
Update dependencies
2023-07-22 20:12:13 +02:00
ae3a5133b3
Create helper script for pushing commands
2023-05-08 09:15:34 +02:00
8b4b35454b
Add commandManager and the first slash command
...
the command allows for summining the bot without sending an actual mention message
that might hang in the chat log sent to openAi, consuming tokens
2023-05-08 08:53:06 +02:00
a66115c3b8
Track all requests to OpenAI in a database
...
this will be in future used to limit access to the bot
2023-05-02 17:55:48 +02:00
2a38ae4a95
Limit sent chat to 2048 tokens.
...
This also solves the issue where we would request more tokens,
than the model is capable of (over 4096)
2023-03-19 09:11:37 +01:00
276d70efee
Parse usernames for use in OpenAI api
...
also document the toOpenAIMssages.ts file
2023-03-18 02:06:49 +01:00
c18b8d83ef
Initial commit
2023-03-14 21:16:54 +01:00