Kaveen Kumarasinghe
6b879fad54
bump version
2 years ago
Kaveen Kumarasinghe
32726ecba1
Merge pull request #119 from duckdoom4/main
...
Fix spelling mistakes
2 years ago
github-actions
774cf9423b
Format Python code with psf/black push
2 years ago
Kaveen Kumarasinghe
e4e390c640
Merge pull request #120 from duckdoom4/remove-magic-values
...
Add missing models / Code cleanup
2 years ago
Kaveen Kumarasinghe
8d5dd77f2c
remove print
2 years ago
Kaveen Kumarasinghe
50e6f59ab5
change token limit when the text model changes
2 years ago
duckdoom4
8982df882e
Fix the default values set to temperature and top p
...
The documentation mentions it's recommended to not alter both
See https://beta.openai.com/docs/api-reference/completions/create#completions/create-temperature
2 years ago
duckdoom4
ac11d9f2a4
Remove hardcoded 'magic values'
2 years ago
duckdoom4
5de2e79b3b
Add missing models
2 years ago
duckdoom4
980f0f3dd4
Fix spelling mistakes
2 years ago
Kaveen Kumarasinghe
7c5cd99863
trigger deploy
2 years ago
github-actions
8b770cb872
Format Python code with psf/black push
2 years ago
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