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