Commit Graph

85 Commits

Author SHA1 Message Date
Paillat
88e9acba80 FIXED THINGS 2023-05-05 13:28:27 +02:00
Paillat
bee3680e63 Fixed wrong usage of cursor and conn with premium database 2023-05-05 13:18:26 +02:00
Paillat
ca85067d70 fix(makeprompt.py): reverse order of messages when chat history is requested 2023-05-05 12:57:52 +02:00
Paillat
94974b2bd3 refactor(help.py, settings.py): remove debug import and debug statements
feat(settings.py): add ctx_to_guid function to convert context to guild id for database queries
feat(settings.py): add support for changing the model used by the bot
fix(settings.py): fix images command not updating the database correctly

feat(cogs/setup.py): add dms_only check to setup_dms command
refactor(cogs/setup.py): move ctx_to_guid function to config.py
refactor(cogs/setup.py): move mg_to_guid function to config.py

feat(makeprompt.py): add support for DMs conversations
fix(makeprompt.py): fix images setting retrieval from database
fix(makeprompt.py): fix guild_id to guid conversion in database queries
refactor(makeprompt.py): extract historicator function to get the channel or user of a message
refactor(makeprompt.py): remove debug statements and unused variables
2023-05-05 12:38:02 +02:00
Paillat
88a7ad2085 [BUG] davinci prompt was returning none 2023-04-03 13:52:21 +02:00
Paillat
2391fb61f9 [BUG] Fixed always defaulting to gpt-3.5 2023-04-03 13:25:47 +02:00
Paillat
31d508efc4 [BUG] fixed pretend_to_be 2023-04-03 13:12:20 +02:00
Alexis LEBEL
d4f37afea1 [PROMPTS] Added support for custom prompts 2023-04-02 16:13:22 +02:00
Alexis LEBEL
dc48b7d21e [Images] Fixed images recognition with google 2023-04-02 14:42:37 +02:00
Alexis LEBEL
24e19aabd5 [MAKEPROMPT] Fixed legacy DB support 2023-04-01 14:23:42 +02:00
Alexis LEBEL
306eefbc75 [MAKEPROMPT] FIxed errors and cleaned a bit more 2023-04-01 13:17:54 +02:00
Alexis LEBEL
4da43c48f3 [MAKEPROMPT] Cleaned up the code, not perfect but OK 2023-03-31 20:28:09 +02:00
Alexis LEBEL
64df09b248 [MAKEPROMPT] Cleaned a bit
Still a lots of work to be done
2023-03-31 16:10:41 +02:00
Alexis LEBEL
42cb2e9135 [GENERAL] Code reformatting using Black standard 2023-03-31 14:09:06 +02:00
Paillat
60a88cc6c0 Added gpt-4 in /models 2023-03-17 11:27:25 +01:00
Paillat
a64cc8ede8 Added image recognition 2023-03-15 22:30:54 +01:00
Paillat
fd692d911b Added future gpt-4 support 2023-03-15 09:54:58 +01:00
Paillat
5a14955759 Added custom emojis reactions capabilityes 2023-03-08 14:52:34 +01:00
Paillat
ab422b4137 Update makeprompt.py 2023-03-06 23:28:29 +01:00
Paillat
b33317314f reactions 2023-03-06 23:21:54 +01:00
Paillat
83c7f10e18 eojiiiis 2023-03-06 23:19:35 +01:00
Paillat
6c4f8166b0 Update makeprompt.py 2023-03-06 23:16:32 +01:00
Paillat
10a0c24cf4 Update makeprompt.py 2023-03-06 23:11:31 +01:00
Paillat
a413dd5039 Update makeprompt.py 2023-03-06 23:01:27 +01:00
Paillat
610f5573fa Added reactions 2023-03-06 22:56:13 +01:00
Paillat
ff0b73cbd9 Update makeprompt.py 2023-03-06 22:51:20 +01:00
Paillat
20cb9fb3b1 Update makeprompt.py 2023-03-06 22:47:46 +01:00
Paillat
54092af658 Update makeprompt.py 2023-03-06 15:33:56 +01:00
Paillat
b052cf8ff3 fixed wrong mention 2023-03-06 15:28:51 +01:00
Paillat
daeabb4bc8 bbbbbb 2023-03-06 15:27:15 +01:00
Paillat
4edc8b0e15 aaaaa 2023-03-06 15:24:27 +01:00
Paillat
b946a6243e Updated Openai moderation 2023-03-06 15:21:54 +01:00
Paillat
52918912bf thing 2023-03-06 15:18:30 +01:00
Paillat
ed5de03f3e Things 2023-03-06 15:13:23 +01:00
Paillat
47259768bd Update makeprompt.py 2023-03-06 14:59:08 +01:00
Paillat
3addd813f3 Update makeprompt.py 2023-03-06 14:53:34 +01:00
Paillat
ec844b23b3 added moderation for prefix & pretend & messages 2023-03-06 14:32:44 +01:00
Paillat
6b0133b833 fixed bug with special characters 2023-03-03 13:39:10 +01:00
Paillat
62440b2cc0 debugged 2023-03-02 23:20:44 +01:00
Paillat
ac93691610 debugged 2023-03-02 23:18:23 +01:00
Paillat
0a44466c7e Debugged 2023-03-02 23:00:00 +01:00
Paillat
51f6823722 Improved chatGPT 2023-03-02 21:58:38 +01:00
Paillat
7e3ff3a021 Improved chatgpt model behaviour 2023-03-02 21:53:43 +01:00
Paillat
cbd0dd92fa Improved chatGPT prompts 2023-03-02 21:34:16 +01:00
Paillat
51146761cf Merge branch 'main' of https://github.com/Paillat-dev/Botator 2023-03-02 21:32:51 +01:00
Paillat
50ccbf1d34 Improved chatGPT prompt. 2023-03-02 21:32:11 +01:00
Paillat
eaedb8ef9e Improved chatGPT prompt 2023-03-02 20:23:25 +01:00
Paillat
581765ad66 Improved davinci prompting 2023-03-02 18:04:27 +01:00
Paillat
82fbdee77a Improved makeprompt, cleaned code a bit 2023-03-01 23:46:54 +01:00
Paillat
434c389e39 Added chatgpt model 2023-03-01 21:30:16 +01:00