Commit Graph

312 Commits

Author SHA1 Message Date
dependabot[bot]
c20142ec71
Bump zod from 3.20.6 to 3.21.4 (#129)
Bumps [zod](https://github.com/colinhacks/zod) from 3.20.6 to 3.21.4.
2023-05-10 13:40:30 +02:00
Max Kammler
458013d732
Bump version 2023-05-10 13:27:46 +02:00
dependabot[bot]
7aad1de2c7
Bump sqlite3 from 5.1.4 to 5.1.5 (#137)
Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.1.4 to 5.1.5.
2023-05-10 13:23:16 +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
Jake Coppinger
9bed44abfd
Set Max Kammler as main author/maintainer, though I’ll still be around 2023-04-19 00:12:27 +10:00
bertybuttface
b382b0f0d7
Merge pull request #154 from matrixgpt/waylaidwanderer/node-chatgpt-api/1.33.0
bump node-chatgpt-api version - adds GPT4
2023-04-14 16:36:39 +01:00
bertybuttface
31126af68f
Merge pull request #155 from matrixgpt/feature/error-code
add error code to response
2023-04-14 16:34:49 +01:00
Max Kammler
6576fc3d84 add error code to response 2023-04-11 11:40:50 +02:00
Max Kammler
72f303f09f bump node-chatgpt-api version 2023-04-11 09:43:25 +02:00
bertybuttface
8f9eea4114
Merge pull request #136 from matrixgpt/dependabot/npm_and_yarn/waylaidwanderer/chatgpt-api-1.29.2
Bump @waylaidwanderer/chatgpt-api from 1.28.0 to 1.29.2
2023-03-14 22:53:22 +00:00
dependabot[bot]
32bf2a66a7
Bump @waylaidwanderer/chatgpt-api from 1.28.0 to 1.29.2
Bumps [@waylaidwanderer/chatgpt-api](https://github.com/waylaidwanderer/node-chatgpt-api) from 1.28.0 to 1.29.2.
- [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-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 17:09:59 +00:00
bertybuttface
f454766e5e
Merge pull request #130 from matrixgpt/dependabot/npm_and_yarn/waylaidwanderer/chatgpt-api-1.28.0
Bump @waylaidwanderer/chatgpt-api from 1.26.1 to 1.28.0
2023-03-08 20:54:30 +00:00
dependabot[bot]
fe3022d879
Bump @waylaidwanderer/chatgpt-api from 1.26.1 to 1.28.0
Bumps [@waylaidwanderer/chatgpt-api](https://github.com/waylaidwanderer/node-chatgpt-api) from 1.26.1 to 1.28.0.
- [Release notes](https://github.com/waylaidwanderer/node-chatgpt-api/releases)
- [Commits](https://github.com/waylaidwanderer/node-chatgpt-api/commits/v1.28.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 17:08:08 +00:00
bertybuttface
b78cc35be5
Merge pull request #125 from matrixgpt/dependabot/npm_and_yarn/waylaidwanderer/chatgpt-api-1.26.1
Bump @waylaidwanderer/chatgpt-api from 1.26.0 to 1.26.1
2023-03-06 12:24:07 +00:00
dependabot[bot]
f8ad86f49d
Bump @waylaidwanderer/chatgpt-api from 1.26.0 to 1.26.1
Bumps [@waylaidwanderer/chatgpt-api](https://github.com/waylaidwanderer/node-chatgpt-api) from 1.26.0 to 1.26.1.
- [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-03-06 12:17:14 +00:00
bertybuttface
1b2ff20865
Merge pull request #122 from max298/main
set default to official ChatGPT model from OpenAI
2023-03-06 12:09:18 +00:00
Max Kammler
326beb2b45 bump api version 2023-03-06 08:46:11 +01:00
Max Kammler
a295484d4b fix information about api 2023-03-06 08:22:08 +01:00
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