Michael Di Prisco
329e076189
chore: moving from im_end to completion params
...
As we allow the constructor to define completionParams, it would be better to allow devs using the library to use the specified stop token.
As of right now, the library allows such stop to be passed but it isn't considered in the class itself.
2023-02-04 09:44:51 +01:00
Travis Fischer
bc79490bf2
feat: update chatgpt model
2023-02-02 23:33:57 -06:00
Travis Fischer
1c5d0a0e53
feat: replace chat model with text-davinci-003 as temporary workaround
2023-02-02 14:11:39 -06:00
Travis Fischer
dc4997d511
fix: completionParams
2023-02-02 13:59:08 -06:00
Travis Fischer
82e89b3237
fix: completionParams should be partial optional
2023-02-02 13:58:02 -06:00
Travis Fischer
9d49e78415
feat: add more config params and docs
2023-02-01 18:01:34 -06:00
Travis Fischer
b20fa74793
fix: conversationId undefined
2023-02-01 12:35:04 -06:00
Travis Fischer
531e180e3f
feat: add persistence demo and keyv support
2023-02-01 04:48:36 -06:00
Travis Fischer
21dd9d518f
feat: MAJOR BREAKING CHANGE; moved from browser to official completion API with unofficial chatgpt model
2023-02-01 03:14:10 -06:00
Travis Fischer
1af5db2471
feat: redesign main sendMessage, initSession, closeSession API
2022-12-16 22:48:42 -06:00
Travis Fischer
2e0990e9be
feat: add ChatGPTAPIBrowser for increased robustness; less efficient but less 429/403/503 errors
2022-12-14 22:41:43 -06:00
Travis Fischer
1d621d0c3c
feat: move puppeteer automation into main lib; update docs
2022-12-12 11:23:03 -06:00
Travis Fischer
c1634b0537
feat: add additional options to better control debugging; add some inline docs
2022-12-12 10:37:44 -06:00
Travis Fischer
70fd95c80c
feat: add demos for puppeteer automated CF workaround
2022-12-12 05:28:53 -06:00
Travis Fischer
74a9b928d2
feat: allow for adding extra headers
2022-12-11 20:00:56 -06:00
Travis Fischer
f9fe5b5b1d
fix: WIP attempting to match OpenAI's HTTP behavior
2022-12-11 20:00:56 -06:00
Travis Fischer
c083ad64d9
feat: add support for Cloudflare 'clearanceToken'
2022-12-11 17:18:51 -06:00
liyu
37bf84bd2a
feat: set accessToken while initialize ChatGPTAPI
2022-12-12 00:46:03 +08:00
Travis Fischer
14ac1af64b
feat: add additional headers; add user accessor
2022-12-11 05:43:39 -06:00
Travis Fischer
90c6e3500f
feat: add ChatGPTError with more info on HTTP errors
2022-12-10 16:19:39 -06:00
Travis Fischer
0f995702fb
docs: add a note in the readme about onProgress and onConversationResponse
2022-12-08 03:08:16 -06:00
Travis Fischer
58795f4150
feat: fixes and documenting methods
2022-12-06 22:17:48 -06:00
Travis Fischer
c8b3ac7029
fix: various fixes and doc updates
2022-12-06 22:16:29 -06:00
Travis Fischer
aaf5efc01b
feat: WIP add support for native fetch; undici on node.js < 18, and refactor conversation support
2022-12-06 22:16:29 -06:00
simon3000
8fb30b155b
conversation always save conversationId
2022-12-06 16:38:10 +01:00
simon3000
df94c61313
optional params for Conversation
2022-12-06 14:46:55 +01:00
simon3000
9e891f529a
added some comment
2022-12-06 08:52:24 +01:00
simon3000
d716a35bd5
Conversation support
2022-12-06 08:38:32 +01:00
ItzBlinkzy
700cb68c80
Replaced typo converstationId with conversationId
2022-12-06 03:52:37 +00:00
Travis Fischer
56a4f82b1d
feat: switch to undici and add ava unit tests
2022-12-05 17:09:31 -06:00
Travis Fischer
c361da937f
docs: improve readme for new version
2022-12-05 01:32:30 -06:00
Travis Fischer
eb11acd263
feat: convert from browser to REST API
2022-12-05 01:32:27 -06:00
Travis Fischer
acf5261b48
chore: tweaks
2022-12-05 01:31:27 -06:00
Bruno Cal
e3355dd9f4
Add resetThread() function
2022-12-05 02:14:23 -03:00
Travis Fischer
cdd71d7ab4
feat: garbage collection chromium browser on close()
2022-12-04 04:33:17 -06:00
Travis Fischer
eaa4357a6c
fix: initial login flow bugs
2022-12-03 02:46:57 -06:00
Travis Fischer
3e372b55b1
feat: add docs; tweak ts
2022-12-02 18:04:53 -06:00
Travis Fischer
8ef2c77a10
feat: init
2022-12-02 17:43:59 -06:00