Rene Teigen
207df295f0
Even more
2 years ago
Rene Teigen
7e5dace02b
Docs, fixes and linting
2 years ago
Kaveen Kumarasinghe
ba3ea3231b
a big refactor
2 years ago
Rene Teigen
1652c0be47
Merge remote-tracking branch 'Remote_Origin/main' into embeds
2 years ago
github-actions
99bb6200aa
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
2cf6f22d4f
Merge pull request #92 from Hikari-Haru/edit-endpoint
...
Add the edit endpoint
2 years ago
Rene Teigen
cf7f3f9ba4
Fix paginated edits, fix ask edit passing in redos prompt
2 years ago
Alessandro Bellia
91e84dddf6
Added the possibility to configure SQLITE db path
...
Now, the SQLITE db path for the user API keys can be configured through the USER_KEY_DB_PATH env variable
Signed-off-by: Alessandro Bellia <casildaserrano@yahoo.it>
2 years ago
Rene Teigen
deee0b328d
Codex redo
2 years ago
Rene Teigen
61a2a19191
Redo work
2 years ago
Rene Teigen
baa37f65fd
Merge remote-tracking branch 'Remote_Origin/main' into edit-endpoint
2 years ago
github-actions
5dcd493c67
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
709382b8da
api backoff
2 years ago
Kaveen Kumarasinghe
8ab7257cac
adjust warn thresholds..
2 years ago
Kaveen Kumarasinghe
8fe9772db3
add reaction to warned messages
2 years ago
Kaveen Kumarasinghe
c9359bb17a
update moderations delete thresholds
2 years ago
Kaveen Kumarasinghe
429ea37a44
Update moderations delete hate threshold
2 years ago
Rene Teigen
e401927dcd
Add support for permanent custom model in threads
...
No current way to set it yourself
2 years ago
Rene Teigen
b261aa6df4
Add codex to the edit command
2 years ago
Rene Teigen
4efb82a033
Add edit endpoint
2 years ago
github-actions
4aa20f832f
Format Python code with psf/black push
2 years ago
Rene Teigen
6b99f57fdf
Merge remote-tracking branch 'Remote_Origin/main' into override_threads
2 years ago
github-actions
585638c457
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
6bff3b2cb5
Stabilize pinecone conversations
2 years ago
Rene Teigen
7ecc56f0ae
Made the json parsin more robust and fixed bugs
2 years ago
Rene Teigen
fbdc03b8dd
Enable json openers with overrides
2 years ago
github-actions
b47d52f217
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
eda7e66f02
Merge branch 'main' into multi-tenancy
...
Signed-off-by: Kaveen Kumarasinghe <k5kumara@uwaterloo.ca>
2 years ago
Kaveen Kumarasinghe
051fc3a2ff
remove api key prints
2 years ago
Kaveen Kumarasinghe
cfb7eb0903
Multi tenancy api key support
2 years ago
github-actions
ead677d558
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
0b2d4c95b7
fix bugs with conversations, some slight improvements
2 years ago
github-actions
2566eb2dc3
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
be18022dd8
merge
2 years ago
Kaveen Kumarasinghe
43fc228376
fix some moderation bugs
2 years ago
github-actions
2e0e96a205
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
4c11843fbc
fix weird merge error
2 years ago
Kaveen Kumarasinghe
0c6272d933
Merge branch 'main' of https://github.com/Kav-K/GPT3Discord
2 years ago
Kaveen Kumarasinghe
893cf11e84
improve moderations service
2 years ago
github-actions
db5e13a9cd
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
7b42bc4afe
Upgrade moderations service, double thresholds, admin options
2 years ago
github-actions
99e1e3b11d
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
a6ded5ab81
fix opener file loading
2 years ago
Justin McPherson
1e7b5b97a3
change path constructor
2 years ago
Justin McPherson
d1d1b062f2
Merge branch 'main' into feat/docker-env
2 years ago
Justin McPherson
105afa0354
non docker case
2 years ago
github-actions
7f1a8e30f8
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
720fad0ee7
permanent memory with pinecone ready for alpha
2 years ago
Kaveen Kumarasinghe
a8b209c212
draft
2 years ago
Kaveen Kumarasinghe
fe54b250f6
fix img prompt optimizer redo bug
2 years ago
github-actions
f4f53cf3cf
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
79c44fb0a0
Merge branch 'main' into rekey-conversation
...
Signed-off-by: Kaveen Kumarasinghe <k5kumara@uwaterloo.ca>
2 years ago
github-actions
903c91497d
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
9896051a7b
fine tune moderations a bit, fix Redo
2 years ago
Rene Teigen
55f0db7f8b
Changed more name handling
2 years ago
Rene Teigen
c0e0d8ba8b
Changed conversations to be keyed by thread
...
The one starting it is the thread owner
Can only own one thread but can converse in multiple
Added a check dmchannel for the message edit moderation
Gave an error when opening a conversation then ending it
2 years ago
github-actions
7fb849de88
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
369c836a72
AI Moderation!
2 years ago
github-actions
db7c400ca4
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
3775432aae
Merge pull request #58 from Hikari-Haru/autocomplete
...
Autocomplete and changed the way opener files are loaded to use a folder instead
2 years ago
Rene Teigen
92f902cb15
return message if no opener folder
2 years ago
github-actions
20bd3a970c
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
04d1a06a9e
Merge pull request #60 from Hikari-Haru/bigger-images
...
Changed the image resizing to go by the guild filesize limit
2 years ago
github-actions
4a39685e45
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
b31bfbe26d
Merge pull request #55 from Hikari-Haru/ask-parameters
...
Added passthrough of gpt3 parameters to /ask
2 years ago
Rene Teigen
0835d849fc
Add fallback if guild is None
2 years ago
Rene Teigen
68a20dcc50
Changed the image resizing to go by the guild filesize limit
...
Since boosted servers have higher limits, even for bots
2 years ago
Rene Teigen
f2033c0fcc
Set autocomplete to limit to 25 options, the max
2 years ago
Rene Teigen
6cfd2838a5
Added autocompleters to settings and opener files
...
Settings now gets current keys so manual updating of choices isn't required
Changed the way opener files are added to the conversation
Using an opener file also enables minimal starter
Added some example opener files
2 years ago
Kaveen Kumarasinghe
663fda421c
Make recurring file operations all async, add custom opener file feature
2 years ago
github-actions
9bbfa2de7a
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
6cea6da6fe
Proper error messages on an API error
2 years ago
Rene Teigen
ddc23e7c10
Added some print to send_request and fixed the top_p description
2 years ago
Rene Teigen
8fbfe952f8
Changed how the overrides are checked to allow "0" input
2 years ago
Hikari Haru
9e4460c009
Added basic passthrough to /ask
...
Update readme
2 years ago
github-actions
92f7632095
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
05a54e28d6
Allow for a way for all users to be granted command access
2 years ago
github-actions
ab3d0a6868
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
5218c445af
Merge branch 'main' into slashgroups-refactor
...
Signed-off-by: Kaveen Kumarasinghe <k5kumara@uwaterloo.ca>
2 years ago
Kaveen Kumarasinghe
0adb5c0e38
fix welcome message
2 years ago
Kaveen Kumarasinghe
53235e4e1d
Merge branch 'main' of https://github.com/Kav-K/GPT3Discord
2 years ago
Kaveen Kumarasinghe
7d116d2ef3
fix typos
2 years ago
github-actions
316dcbb023
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
db1191144d
fix minor typo
2 years ago
Karl
f13bd6ea3f
Merge branch 'Kav-K:main' into KarlKennerley-GPT3Discord-Issue#34
2 years ago
Justin McPherson
566c0ae278
fix error
2 years ago
Justin McPherson
ddbe356e2a
Changes to environment loading.
...
- Move Some environment loading code to EnvService.
- Attempt loading of env file from multiple locations & names
- Provide a path fetching + fallback function for reading
paths from environment vars.
- For Docker;
- Create /opt/gpt3discord/{etc,bin,shared}
- Copy .txt shared data into shared
- Copy main .py into bin
2 years ago
Karl
3a663c244f
Updated get_welcome_message function
...
Updated the get_welcome_message function to fall back on a string saved in a .env file and then to fall back on a simple default string.
2 years ago
Karl
357422414a
Added getter and setter for welcome msg setting.
...
Added getter and setter functions to allow for enabling and disabling of welcoming messages.
2 years ago
Rene Teigen
b48c68e868
A little cleanup and changed the "admin" slash group to "system"
...
So that it's hidden further down on the list
2 years ago
Rene Teigen
e5eeb035c1
Implemented slash command grouping and more ways to configure who can use what.
...
Refactored /g into /chat and /gpt-chat into /converse
Both have the grouping "gpt" so the full is /gpt chat, and /gpt converse
Added pycord-multicog to the project for easier slash grouping across cogs
Made the role check case insensitive and added some comments to the sample.env
Removed the rest of the discord.ext imports, it's not really used, ymmv
Removed another admin check i had missed in local-size
2 years ago
github-actions
72c5760479
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
bfdd8fc29f
black test
2 years ago
github-actions
17b71059b5
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
37f2c8c1b4
Make image operations completely async, fix the optimized text length, set best_of=2
2 years ago
Karl
49b652bdd3
Added getter for welcome message env variable.
...
Added a getter function for the welcome message environment variable. Fixes issue #34 .
2 years ago
Rene Teigen
e31df356a9
Changed send_followup to respond
2 years ago
Rene Teigen
3ddb1056c3
Change way that roles are checked and some formatting
2 years ago
github-actions
2fc67fc13b
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
fb5b1f1e93
SLASH COMMANDSgit status! Major Overhaul
2 years ago