bertybuttface
1dca8d6659
Update index.ts
2023-10-27 17:20:57 +01:00
sg-qwt
d0d6c5d0b4
Add support for Azure OpenAI ( #186 )
...
Co-authored-by: 無名氏 <hello@edgerunners.eu.org>
2023-06-08 17:02:44 +02:00
Ludovic Dubost
d62e89965a
#177 Custom API URL is not working ( #178 )
2023-06-01 09:33:17 +02:00
Derek
8efd3f9491
Added chatgpt temperature environment variable ( #162 )
...
* added chatgpt temperature enviroment variable
* accidentally use float instead of number
* fixed inline
* Updated the readme
* Updated the env example
---------
Co-authored-by: D <>
2023-05-10 12:07:35 +02:00
Max Kammler
b11d566ecb
Feature/reverse proxy ( #161 )
...
* add CHATGPT_REVERSE_PROXY
---------
Co-authored-by: Max Kammler <max.kammler@icloud.com>
2023-05-09 10:33:22 +02:00
Max Kammler
af954b7632
add new env for model, add warning about new version
2023-03-03 12:56:52 +01:00
Max Kammler
2d7d482fca
rename env, bump chatgpt client version
2023-03-03 11:59:52 +01:00
Max Kammler
a6eed7954a
set default to official ChatGPT model from OpenAI
2023-03-02 16:07:54 +01:00
bertybuttface
81530d2462
Update index.ts
2023-02-10 15:32:41 +00:00
bertybuttface
c7a9556e18
Add MATRIX_WELCOME so notice can be turned off
2023-02-08 17:32:15 +00:00
bertybuttface
4fc1a3a4a6
Fix issue when encryption disabled
2023-02-08 16:55:31 +00:00
bertybuttface
8ace02896e
Add CHATGPT_PROMPT_PREFIX setting
2023-02-06 15:00:29 +00:00
bertybuttface
e39f3fdeee
Switch to waylaidwanderer
2023-02-06 14:08:45 +00:00
bertybuttface
205d87ffcf
Small tidy up
2023-02-06 13:47:09 +00:00
bertybuttface
a3184aa43a
Respect disabled MATRIX_ENCRYPTION
2023-02-06 13:42:17 +00:00
bertybuttface
89ec060bc1
Remove KEYV_BOT_ENCRYPTION
2023-02-06 00:38:54 +00:00
bertybuttface
35beb205b0
Add persistence
2023-02-04 16:58:43 +00:00
Max Kammler
f24ca35c74
removed openai pro setting in env
2023-02-03 15:57:24 +01:00
Max Kammler
dcf038df1f
add CHATGPT_MODEL environment variable
2023-02-03 11:35:49 +01:00
Max Kammler
e45ac29a8e
Change bot to use official API keys
2023-02-02 13:44:14 +01:00
bertybuttface
5f9547a556
Hotfix master
2023-01-28 13:04:56 +00:00
bertybuttface
6bf0a56560
Add support for refreshing ChatGPT sessions regularly
...
Call `api.refreshSession()` every hour to refresh the ChatGPT session
Call `api.resetSession()` every 24 hours to reset the ChatGPT session
2023-01-27 18:49:36 +00:00
bertybuttface
060dd562ea
Error if incorrect combination of MATRIX_THREADS and CHATGPT_CONTEXT
2023-01-27 18:01:52 +00:00
bertybuttface
e8efc4d405
Add support for pro account
2023-01-24 15:56:31 +00:00
bertybuttface
c1ef71817a
Cleanup code
2023-01-19 17:43:55 +00:00
bertybuttface
a3c828c9fa
Lookup rootEvent to check prefix in thread.
2023-01-07 18:17:13 +00:00
bertybuttface
49d0ae0d60
Hotfix last PR
...
We still need that util function for now, can remove later. Also we don't need MATRIX_BOT_USERNAME any more if we have MATRIX_ACCESS_TOKEN set.
2023-01-07 00:30:09 +00:00
bertybuttface
19a8dfb0e4
Cache details for mentions.
2023-01-06 23:59:52 +00:00
bertybuttface
4946ac5fc1
Various fixes
2022-12-31 22:09:14 +00:00
bertybuttface
72fe67312d
Fix missing cryptoStore after merge
2022-12-29 03:29:10 +00:00
bertybuttface
d92ba25c18
Merge branch 'main' into storage-fixes
2022-12-29 02:48:50 +00:00
bertybuttface
f33d01e531
Fix storage, e2e and add feature flags
2022-12-29 02:38:29 +00:00
bertybuttface
c5793ec12b
Use matrix access token if we have it, print one if we don't.
2022-12-29 01:34:51 +00:00
bertybuttface
0175a09e33
Update ChatGPT API wrapper to latest, uses Puppeteer
2022-12-22 14:57:34 +00:00
Jake Coppinger
3903e38c2f
Initial commit
2022-12-09 20:41:17 +11:00