Commit Graph

848 Commits

Author SHA1 Message Date
kwaroran
7e568cc0b8 Refactor risuChatParser usage in processScriptFull function 2024-03-24 19:40:40 +09:00
kwaroran
342052a0a4 Add exponentiation operator to toRPN and calculateRPN functions 2024-03-24 19:19:42 +09:00
kwaroran
327cd701b0 fix supportsInlayImage 2024-03-20 21:14:42 +09:00
kwaroran
895543355f Add support for JSON values in additionalParams 2024-03-20 21:06:30 +09:00
kwaroran
5bede2b90a Change Reverse proxy name to Custom and add additionalParams 2024-03-20 21:02:34 +09:00
kwaroran
31856a9c48 Add generation info viewer 2024-03-19 14:50:48 +09:00
kwaroran
2fee3aa70f Add image input display 2024-03-18 00:25:18 +09:00
kwaroran
6e5465356a Refactor inlay image parsing and add image embedding functionality 2024-03-18 00:05:03 +09:00
kwaroran
1954a79bd0 move transformers.ts 2024-03-17 23:55:55 +09:00
kwaroran
dbe1a45317 Refactor multimodal and add claude-3 vision support 2024-03-17 23:48:24 +09:00
kwaroran
f0021dd501 fix claude requesting as stream when stream isn't able 2024-03-17 17:56:24 +09:00
bangonicdd
55ba1a0094 keep aws claude fallback model as sonnet 2024-03-16 09:17:49 +09:00
bangonicdd
1907d4f229 add aws haiku 2024-03-16 09:07:11 +09:00
kwaroran
d16e9e5708 Remove unnecessary code block in requestChatDataMain function 2024-03-07 23:10:45 +09:00
kwaroran
160384e8c6 Remove unused code for handling reconnect interval 2024-03-07 07:20:59 +09:00
kwaroran
305812f35e Add claude error handling 2024-03-07 06:50:36 +09:00
kwaroran
604ed57627 Add role parameter to risuChatParser function 2024-03-07 00:16:40 +09:00
kwaroran
3c39c8fa5d Add role CBS 2024-03-07 00:13:44 +09:00
kwaroran
fe31610ca0 Add claude streaming & remove unused parameters 2024-03-06 22:14:24 +09:00
kwaroran
7b98a610ec Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-03-06 21:49:34 +09:00
kwaroran
826eac60d1 Add native rust streamed fetch implementation 2024-03-06 21:49:32 +09:00
kwaroran
cd99ae4bca add aws claude-3 (#298)
# PR Checklist
- [x] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [x] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [x] Did you added a type def?

# Description


![image](https://github.com/kwaroran/RisuAI/assets/133192207/5a515821-fc22-4cf2-98ac-e86d65ba7c86)
2024-03-06 03:14:18 +09:00
kwaroran
52474c6fbd Update raiModel based on customProxyRequestModel 2024-03-06 03:10:56 +09:00
bangonicdd
359216c6a1 Remove test log 2024-03-06 00:15:04 +09:00
bangonicdd
9b3fbb73b0 add aws claude-3 2024-03-05 23:35:46 +09:00
kwaroran
570abb1524 Fix chat content trimming in sendChat function 2024-03-05 02:46:08 +09:00
kwaroran
a15c10763d improve system prompt handling 2024-03-05 02:37:11 +09:00
kwaroran
9e03768e09 Add sendXMLFile function for processing XML files 2024-03-05 02:00:58 +09:00
kwaroran
18fbaebd46 Add new prompt type 'postEverything' 2024-03-05 01:54:55 +09:00
kwaroran
c2352d49fd Refactor return value of requestChatDataMain function 2024-03-05 01:46:36 +09:00
kwaroran
71d9768809 Add Claude 3 Formating 2024-03-05 01:40:05 +09:00
kwaroran
bde9ef51d4 Add models 2024-03-05 01:07:34 +09:00
kwaroran
b147d341c0 Add note and speaker to message data 2024-03-04 22:23:32 +09:00
kwaroran
12011c6817 Update maxContext value to 4000 2024-03-04 22:20:00 +09:00
kwaroran
ff16ffde0c Add text file post functionality 2024-02-27 01:29:58 +09:00
kwaroran
66fd70c01a Add postfile function 2024-02-26 23:13:29 +09:00
kwaroran
1695a3df58 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-02-25 17:00:30 +09:00
kwaroran
cf336fcdef Add multisend command to processMultiCommand function 2024-02-25 17:00:17 +09:00
hashcoko
d0569b29cb Code updates due to NAI API changes and feature additions. 2024-02-22 11:06:42 +09:00
kwaroran
281b0931c6 Refactor module retrieval functions 2024-02-15 06:53:14 +09:00
kwaroran
eb96e9730d Add importModule function to import regex modules 2024-02-11 05:04:33 +09:00
kwaroran
e797f301d7 Add new Gemini models to ModelList and requestChatDataMain 2024-02-09 01:14:39 +09:00
kwaroran
1e900d44ac Refactor importModule function to set default values for name and description 2024-02-07 06:22:33 +09:00
kwaroran
0252961fbd Add lorebook import for modules 2024-02-07 06:20:20 +09:00
kwaroran
7e0ac2513b Fix state update 2024-02-07 03:34:31 +09:00
kwaroran
2b223b2704 Fix moduleIds concatenation in getModuleLorebooks, getModuleTriggers, and getModuleRegexScripts functions 2024-02-07 02:55:12 +09:00
kwaroran
8ed4555b2f remove global regex and lorebook and add convertion to modules 2024-02-07 02:50:18 +09:00
kwaroran
e414b317d1 Add gpt-3.5-turbo-0125, fix gpt-4-0314 (#288)
# PR Checklist
- [x] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [x] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [x] Did you added a type def?

# Description

Reference: 
https://platform.openai.com/docs/models/gpt-3-5-turbo
https://platform.openai.com/docs/deprecations

1. Added gpt-3.5-turbo-0125 model: The current gpt-3.5-turbo is pointed
to the 0613 model, but the official documentation says it will
automatically upgrade to the 0125 model on February 16 anyway.
2. Fixed the model name of gpt-4-0314, although it is deprecated.
2024-02-07 02:25:12 +09:00
kwaroran
68382cb38e Add Modules 2024-02-07 02:21:16 +09:00
kwaroran
8bcae0864b Fix formatting for Claude 2024-02-06 21:34:02 +09:00