Kaveen Kumarasinghe
4bbc234c8f
Merge pull request #118 from Hikari-Haru/redo-fixes
...
Fix conversation redos
2 years ago
Kaveen Kumarasinghe
65db2a29a8
Merge branch 'redo-fixes' of https://github.com/Hikari-Haru/GPT3Discord into redo-fixes
2 years ago
Kaveen Kumarasinghe
91c879bb5f
adjust img optimizer pretext slightly:
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
42f5b1ea45
further minimalize openers and the minimal pretext
2 years ago
Kaveen Kumarasinghe
5841171106
slightly reduce pretext, improve minimal pretext, add support for >2 temperature
2 years ago
Kaveen Kumarasinghe
40bb101f27
bump version
2 years ago
Rene Teigen
62e86595b8
Final redo fix, can likely remove the id parameter from encapsulate send, not used
2 years ago
Rene Teigen
a5d675ff5c
Start of fixes
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
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