Commit graph

15 commits

Author SHA1 Message Date
91232e99a7 Update dependencies 2024-04-23 16:47:08 +02:00
c911e567c6 Update dependencies 2023-12-13 17:04:18 +01:00
6a31473d22 scripts: move scripts to the project root directory
I believe, that these kind of scripts should reside there
instead of src directory
2023-09-30 14:46:12 +02:00
23ceca5cd3 Update OpenAI dependency 2023-09-27 17:14:17 +02:00
8ed2e758f8 Update dependencies
OpenAI package will be updated soon,
as it needs codebase migration
2023-09-27 15:52:30 +02:00
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