Kaveen Kumarasinghe
33e68588ee
Merge branch 'main' into gpt-index
2 years ago
Kaveen Kumarasinghe
2e4de119db
Add thinking message for conversations
2 years ago
Kaveen Kumarasinghe
6b5ad1bfb8
fix optimizer redo
2 years ago
Kaveen Kumarasinghe
0b71478e56
hot fix for docker
2 years ago
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