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