Kaveen Kumarasinghe
36ef6e9115
lock the second pinecone index behind GCP key (disable this)
2 years ago
Kaveen Kumarasinghe
bb22d66f48
Merge branch 'main' of https://github.com/Kav-K/GPT3Discord
2 years ago
Kaveen Kumarasinghe
9888ec5b29
update requirements
2 years ago
github-actions
7779e44a2c
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
11f563e16a
Add Paraphrase
2 years ago
github-actions
4181b2d1a1
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
a1e87ec14f
Merge pull request #115 from falkoro/patch-1
...
Update health_service.py
2 years ago
falkoro
b0ad5a85b9
Update health_service.py
...
Adding a health service url to be able to manage the container on cloud based environments.
Signed-off-by: falkoro <39274208+falkoro@users.noreply.github.com>
2 years ago
Kaveen Kumarasinghe
5405a33bf2
fix error
2 years ago
github-actions
7e5d9266d5
Format Python code with psf/black push
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
Kaveen Kumarasinghe
941bee2b5a
translation fixes and improvements
2 years ago
Kaveen Kumarasinghe
614be4e2e0
Merge branch 'formatting-and-fixes' of https://github.com/Hikari-Haru/GPT3Discord into formatting-and-fixes
2 years ago
Kaveen Kumarasinghe
4df4096f02
speed up moderations and smoothen translations
2 years ago
Rene Teigen
b90a5b5756
Use user parameter for displayname if set in encapsulate send
2 years ago
Rene Teigen
bddc653763
Merge branch 'formatting-and-fixes' of https://github.com/Hikari-Haru/GPT3Discord into formatting-and-fixes
2 years ago
Rene Teigen
eafacb0dbc
One more quote removal
2 years ago
Kaveen Kumarasinghe
d683eafdfc
fix a long running unchecked error
2 years ago
Kaveen Kumarasinghe
ab43da3c61
fix user hallucinations
2 years ago
Kaveen Kumarasinghe
8c2f5f62aa
Merge pull request #113 from cooperlees/main
...
Handle SIGTERM exits Cleanly too
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
Rene Teigen
732fdd0e4b
Some changes to the full starter to reduce token usage from the starter
2 years ago
Rene Teigen
a33f0b12eb
Update docstring
2 years ago
Rene Teigen
7260ab7b6b
Add stop in conversation, some formatting
...
Added ping on thread open
Removed extra newlines from ask formatting
2 years ago
Kaveen Kumarasinghe
9ae43909f9
upgrade pinecone
2 years ago
github-actions
f0860d1f66
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
b8dfa2efca
bump version
2 years ago
Kaveen Kumarasinghe
2ff7cb1a3b
add approve button to moderations, add reset
2 years ago
Kaveen Kumarasinghe
8b9d816f08
Merge branch 'main' of https://github.com/Kav-K/GPT3Discord
2 years ago
Kaveen Kumarasinghe
841b5733b0
fix conversation summarizations
2 years ago
github-actions
4c08ab8820
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
7cb19039a1
custom bot name, beautify responses
2 years ago
Kaveen Kumarasinghe
50a9f7c469
custom bot name, beautify responses
2 years ago
github-actions
648d038bc0
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
370f96c9c0
Merge pull request #111 from Kav-K/chat-bypass
...
Chat bypass
2 years ago
Kaveen Kumarasinghe
f07bec787c
Merge branch 'main' of https://github.com/Kav-K/GPT3Discord into chat-bypass
2 years ago
Kaveen Kumarasinghe
918717a3a9
Make responses look nicer
2 years ago
github-actions
292b7f6acd
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
77e6167fc3
Merge pull request #110 from joryclements/chat-bypass
...
Add support for CHAT_BYPASS_ROLES in Env
2 years ago
Kaveen Kumarasinghe
6d1de40ab6
fix any
2 years ago
Kaveen Kumarasinghe
c7df9ce1a0
bump version
2 years ago
Kaveen Kumarasinghe
a27dd7caa7
use any()
2 years ago
Kaveen Kumarasinghe
951216fc49
fixes
2 years ago
Jory Clements
a20d8d2918
Add support for CHAT_BYPASS_ROLES in Env
2 years ago
Hikari Haru
eff4940d53
Bump version
...
Signed-off-by: Hikari Haru <rene9917@gmail.com>
2 years ago
github-actions
84bcb0545b
Format Python code with psf/black push
2 years ago
Hikari Haru
e1181871b3
Merge pull request #109 from Hikari-Haru/translation-view-fixes
...
Some fixes to the translation message command
2 years ago
Rene Teigen
5b396605f3
Some fixes to the translation message command
2 years ago