Commit Graph

243 Commits

Author SHA1 Message Date
Max Kammler
03d7c1626e add link to openai pricing page 2023-03-03 15:33:22 +01: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
98803b98e2
Merge pull request #99 from matrixgpt/room-acl
Add basic room ACL.
2023-02-18 15:04:13 +00:00
bertybuttface
1ca2ce3152
Merge pull request #102 from matrixgpt/dependabot/npm_and_yarn/zod-3.20.6
Bump zod from 3.20.3 to 3.20.6
2023-02-18 15:03:35 +00:00
bertybuttface
8d2c0d4b9c
Merge pull request #106 from matrixgpt/keyv-fix
Keyv fixes
2023-02-10 15:59:53 +00:00
bertybuttface
81530d2462 Update index.ts 2023-02-10 15:32:41 +00:00
max298
c9ddac5d5a
Merge pull request #104 from matrixgpt/fix/update-readme
Update readme on current situation
2023-02-10 14:35:35 +01:00
max298
2717689331
add information on current model 2023-02-10 12:02:15 +01:00
dependabot[bot]
187cf7fa71
Bump zod from 3.20.3 to 3.20.6
Bumps [zod](https://github.com/colinhacks/zod) from 3.20.3 to 3.20.6.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](https://github.com/colinhacks/zod/compare/v3.20.3...v3.20.6)

---
updated-dependencies:
- dependency-name: zod
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 17:14:03 +00:00
bertybuttface
fb46f6d9c5 Add basic room ACL. 2023-02-08 17:34:10 +00:00
bertybuttface
c7a9556e18 Add MATRIX_WELCOME so notice can be turned off 2023-02-08 17:32:15 +00:00
bertybuttface
cb028c27bf Merge branch 'main' of github-bertybuttface:matrixgpt/matrix-chatgpt-bot 2023-02-08 16:55:35 +00:00
bertybuttface
4fc1a3a4a6 Fix issue when encryption disabled 2023-02-08 16:55:31 +00:00
bertybuttface
5b0899f615
Merge pull request #93 from matrixgpt/dependabot/npm_and_yarn/zod-3.20.3
Bump zod from 3.20.2 to 3.20.3
2023-02-08 16:51:37 +00:00
dependabot[bot]
63879916e0
Bump zod from 3.20.2 to 3.20.3
Bumps [zod](https://github.com/colinhacks/zod) from 3.20.2 to 3.20.3.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](https://github.com/colinhacks/zod/compare/v3.20.2...v3.20.3)

---
updated-dependencies:
- dependency-name: zod
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 16:48:58 +00:00
bertybuttface
97bf11782c
Merge pull request #94 from matrixgpt/dependabot/npm_and_yarn/waylaidwanderer/chatgpt-api-1.10.5
Bump @waylaidwanderer/chatgpt-api from 1.10.1 to 1.10.5
2023-02-08 16:47:54 +00:00
dependabot[bot]
a2d731ab85
Bump @waylaidwanderer/chatgpt-api from 1.10.1 to 1.10.5
Bumps [@waylaidwanderer/chatgpt-api](https://github.com/waylaidwanderer/node-chatgpt-api) from 1.10.1 to 1.10.5.
- [Release notes](https://github.com/waylaidwanderer/node-chatgpt-api/releases)
- [Commits](https://github.com/waylaidwanderer/node-chatgpt-api/commits)

---
updated-dependencies:
- dependency-name: "@waylaidwanderer/chatgpt-api"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 16:13:31 +00:00
bertybuttface
43dc126241
Merge pull request #91 from max298/feature/send-error
Show errors from OpenAI
2023-02-08 16:08:22 +00:00
Max Kammler
acd5e2409a reduce anmount of detail for users 2023-02-08 15:09:33 +00:00
Max Kammler
2ea46ccf12 fix typo 2023-02-08 15:09:33 +00:00
Max Kammler
9cafc6f794 show error in newline 2023-02-08 15:09:33 +00:00
Max Kammler
11b042a8c3 pass OpenAI error directly to user 2023-02-08 15:09:33 +00:00
bertybuttface
cc344c93d9
Merge pull request #90 from max298/fix/ignore-non-text
ignore non-text messages
2023-02-08 15:09:13 +00:00
bertybuttface
9226082dfe
Merge branch 'main' into fix/ignore-non-text 2023-02-07 13:15:40 +00:00
bertybuttface
4d9b26f481
Merge pull request #89 from max298/main
Cleanup of npm / yarn
2023-02-07 12:43:48 +00:00
Max Kammler
904660929f reorder env import 2023-02-07 10:53:55 +01:00
Max Kammler
58ec2f7f10 fix typo 2023-02-07 10:36:08 +01:00
Max Kammler
d72b0ba772 add CHATGPT_IGNORE_MEDIA 2023-02-07 10:34:43 +01:00
Max Kammler
3af7b88825 ignore non-text messages 2023-02-07 10:05:32 +01:00
Max Kammler
f0bc13c5df cleanup: consistent use of yarn instead of npm 2023-02-07 09:43:58 +01:00
bertybuttface
69c3560735
Merge pull request #86 from matrixgpt/waylaid-wanderer
Switch to waylaidwanderer
2023-02-06 16:55:49 +00:00
bertybuttface
3bb462e5c0 Update README.md 2023-02-06 15:14:59 +00:00
bertybuttface
fba56ab5fd Add example CHATGPT_PROMPT_PREFIX 2023-02-06 15:13:32 +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
b6847bdea7 Update README.md 2023-02-06 13:33:54 +00:00
bertybuttface
7bdb7f98a3
Merge pull request #85 from matrixgpt/remove-keyv-encryption
Remove KEYV_BOT_ENCRYPTION
2023-02-06 12:19:51 +00:00
bertybuttface
89ec060bc1 Remove KEYV_BOT_ENCRYPTION 2023-02-06 00:38:54 +00:00
bertybuttface
83451f1696
Merge pull request #74 from matrixgpt/dependabot/npm_and_yarn/typescript-4.9.5
Bump typescript from 4.9.4 to 4.9.5
2023-02-04 18:56:28 +00:00
dependabot[bot]
cd4d36ef6a
Bump typescript from 4.9.4 to 4.9.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.9.4 to 4.9.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-04 18:27:57 +00:00
bertybuttface
f5997a9a4b
Update README.md 2023-02-04 18:25:55 +00:00
bertybuttface
eb967067dd
Bump version 2023-02-04 17:28:54 +00:00
bertybuttface
68d6830918
Merge pull request #83 from matrixgpt/v2-cleanup
Add persistence
2023-02-04 17:17:12 +00:00
bertybuttface
35beb205b0 Add persistence 2023-02-04 16:58:43 +00:00
bertybuttface
3e8f8492a6
Merge pull request #81 from max298/main
add some information about used model
2023-02-03 15:13:55 +00:00
Max Kammler
d7448b7f65 add some information about used model 2023-02-03 16:12:09 +01:00