Kaveen Kumarasinghe
52df4cd457
hot fix for docker
2 years ago
Kaveen Kumarasinghe
c10a2f0237
hotfix for docker
2 years ago
Kaveen Kumarasinghe
c7e6a447d3
Role checks
2 years ago
Rene Teigen
9052bc2d80
Added gpt-index commands
2 years ago
Kaveen Kumarasinghe
87cd1f01f6
fix convo redo
2 years ago
github-actions
f8d797f3a8
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
d8c3b2bd32
bump version
2 years ago
Kaveen Kumarasinghe
57271f1051
Summarize, fix context menu actions
2 years ago
Kaveen Kumarasinghe
22af4618b7
bump version
2 years ago
Kaveen Kumarasinghe
6b879fad54
bump version
2 years ago
Kaveen Kumarasinghe
46a2c56b22
Merge branch 'main' into redo-fixes
...
Signed-off-by: Kaveen Kumarasinghe <k5kumara@uwaterloo.ca>
2 years ago
Kaveen Kumarasinghe
40bb101f27
bump version
2 years ago
Kaveen Kumarasinghe
61e6785667
Merge branch 'main' of https://github.com/Kav-K/GPT3Discord
2 years ago
Kaveen Kumarasinghe
33deed890e
bump version
2 years ago
github-actions
a3763e68a1
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
36ef6e9115
lock the second pinecone index behind GCP key (disable this)
2 years ago
github-actions
7779e44a2c
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
11f563e16a
Add Paraphrase
2 years ago
Kaveen Kumarasinghe
5405a33bf2
fix error
2 years ago
Kaveen Kumarasinghe
3337753e9b
Merge pull request #112 from Hikari-Haru/formatting-and-fixes
...
Add stop in conversation, some formatting
2 years ago
Kaveen Kumarasinghe
80025a3e9c
bump version
2 years ago
Cooper Ry Lees
d1b7bae943
Fix process terminate in cleanup function
2 years ago
Cooper Ry Lees
266fd7b953
Handle SIGTERM exits Cleanly too
...
- Docker sends SIGTERM on `docker restart` and `docker stop`
- We need to cleanup the PID_FILE when this occurs so that when the container starts again the PID_FILE is not there
- Move logic to a function to KeyboardInterupt / SIGINT exit flow uses same cleanup as SIGTERM
- I also added a function to check in Linux only that if the PID stored isn't actually running we'll remove the file and allow gpt3discord to start
Test:
- Build a docker container and run + restart locally
- `docker build -t gpt3discord .`
- `docker run --name gpt3discord -v /containers/gpt3discord/env:/opt/gpt3discord/etc/environment -v /containers/gpt3discord/data:/data gpt3discord:latest`
- `docker restart gpt3discord`
See logs do what we need:
```
Commands synced
Killed all subprocesses
Removing PID file bot.pid
None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
```
2 years ago
Kaveen Kumarasinghe
b8dfa2efca
bump version
2 years ago
Kaveen Kumarasinghe
841b5733b0
fix conversation summarizations
2 years ago
Kaveen Kumarasinghe
918717a3a9
Make responses look nicer
2 years ago
Kaveen Kumarasinghe
c7df9ce1a0
bump version
2 years ago
Hikari Haru
eff4940d53
Bump version
...
Signed-off-by: Hikari Haru <rene9917@gmail.com>
2 years ago
Kaveen Kumarasinghe
b9fa216c61
Update gpt3discord.py
...
Signed-off-by: Kaveen Kumarasinghe <k5kumara@uwaterloo.ca>
2 years ago
Rene Teigen
13f15fca52
Fix api key setup and custom api db path
2 years ago
Kaveen Kumarasinghe
eeb70829b7
Update gpt3discord.py
...
Signed-off-by: Kaveen Kumarasinghe <k5kumara@uwaterloo.ca>
2 years ago
github-actions
f3b57c20a8
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
c1526b40fc
health check service
2 years ago
github-actions
d125668d25
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
3627d32e54
Translations with DeepL
2 years ago
github-actions
ea5f95800b
Format Python code with psf/black push
2 years ago
Rene Teigen
e76a13846e
Merge remote-tracking branch 'Remote_Origin/main' into fixes
2 years ago
Rene Teigen
ba3615f878
Bump version
2 years ago
Rene Teigen
207df295f0
Even more
2 years ago
Kaveen Kumarasinghe
2acc18c1a5
Update gpt3discord.py
...
Signed-off-by: Kaveen Kumarasinghe <k5kumara@uwaterloo.ca>
2 years ago
Kaveen Kumarasinghe
2fcb89ed5b
bump version
2 years ago
Kaveen Kumarasinghe
f4009e08f7
context menu buttons
2 years ago
github-actions
ab362b97cd
Format Python code with psf/black push
2 years ago
Hikari Haru
4249baf10b
Merge branch 'main' into embeds
...
Signed-off-by: Hikari Haru <rene9917@gmail.com>
2 years ago
Kaveen Kumarasinghe
c58d0f3f55
deploy test
2 years ago
Kaveen Kumarasinghe
a3c399ae36
bump version
2 years ago
Kaveen Kumarasinghe
6e3608fe8e
decompose moderations service
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
Kaveen Kumarasinghe
30172f8d3f
update readme, bump version
2 years ago
Rene Teigen
7104399e6b
Moved all commands into their own file
2 years ago
Hikari Haru
bec4e3c40a
Bump version
...
Signed-off-by: Hikari Haru <rene9917@gmail.com>
2 years ago
Kaveen Kumarasinghe
709382b8da
api backoff
2 years ago
Kaveen Kumarasinghe
87a89d40ca
add private convo thread opener
2 years ago
Kaveen Kumarasinghe
4f26f0c3b4
bump version
2 years ago
Kaveen Kumarasinghe
d34017bfb1
bump version
2 years ago
Kaveen Kumarasinghe
6bff3b2cb5
Stabilize pinecone conversations
2 years ago
Kaveen Kumarasinghe
cf2dcd84f0
housekeeping, bugfixes
2 years ago
Kaveen Kumarasinghe
571d65fd37
revert auto-terminate change, bump version
2 years ago
Kaveen Kumarasinghe
7de071dbfd
remove emoji before pinecone properly
2 years ago
Kaveen Kumarasinghe
ab4e01841d
update readme, update activity
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
cfb7eb0903
Multi tenancy api key support
2 years ago
github-actions
ead677d558
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
413c1ae921
bump version
2 years ago
Kaveen Kumarasinghe
0b2d4c95b7
fix bugs with conversations, some slight improvements
2 years ago
Kaveen Kumarasinghe
6069f334eb
bump version
2 years ago
Kaveen Kumarasinghe
7b42bc4afe
Upgrade moderations service, double thresholds, admin options
2 years ago
Kaveen Kumarasinghe
5c556c9952
bump version
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
Kaveen Kumarasinghe
903f45296a
Update gpt3discord.py
...
Signed-off-by: Kaveen Kumarasinghe <k5kumara@uwaterloo.ca>
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
aea8ebfddb
bump version
2 years ago
Kaveen Kumarasinghe
b7b19e820d
bump version
2 years ago
Kaveen Kumarasinghe
e18b913b60
bump version
2 years ago
Kaveen Kumarasinghe
7c7956d131
bump version
2 years ago
Kaveen Kumarasinghe
c338d2aea3
add more custom openers, update readme
2 years ago
Kaveen Kumarasinghe
79efb5fa38
bump version, update pypi version tag
2 years ago
github-actions
d225b81aac
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
663fda421c
Make recurring file operations all async, add custom opener file feature
2 years ago
Kaveen Kumarasinghe
7d1c83b768
bump version
2 years ago
Kaveen Kumarasinghe
55d2fc20d0
bump version
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
Rene Teigen
4657d9d814
Merge branch 'main' into slashgroups-refactor
2 years ago
github-actions
9b34ac71ff
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
e4ad630367
possible fix for .env file loading
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
Kaveen Kumarasinghe
583b766264
make conversations more personable
2 years ago
Kaveen Kumarasinghe
993913d13f
bump version
2 years ago
Kaveen Kumarasinghe
4f9006b565
bump version
2 years ago
Kaveen Kumarasinghe
6732c136b2
Merge pull request #35 from Hikari-Haru/main
...
Add gitignore and change role checks
2 years ago
github-actions
eb407907d0
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
cf27b0f0f0
Activity presence
2 years ago
Kaveen Kumarasinghe
7679f56dae
bump version
2 years ago
Rene Teigen
3ddb1056c3
Change way that roles are checked and some formatting
2 years ago
Kaveen Kumarasinghe
acd4d659fc
bump version
2 years ago
Kaveen Kumarasinghe
fb5b1f1e93
SLASH COMMANDSgit status! Major Overhaul
2 years ago