Commit Graph

631 Commits

Author SHA1 Message Date
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
bangonicdd
85e7becaf6 Add gpt-3.5-turbo-0125, fix gpt-4-0314 2024-02-03 04:30:34 +09:00
kwaroran
afea17dfb3 Update model options in ModelList.svelte and request.ts 2024-01-26 04:24:02 +09:00
kwaroran
f1b7c894a6 Fix issue with empty result in sendChat function 2024-01-22 01:49:08 +09:00
kwaroran
4d27bc49c0 Add commands 2024-01-17 07:58:36 +09:00
kwaroran
1e062d3077 Rename removePunctuationHypa and change functionality 2024-01-17 07:07:38 +09:00
kwaroran
1397be4f03 Refactor requestChatDataMain function to handle non-multiGen 2024-01-16 17:54:42 +09:00
kwaroran
1b1c6ad2fd Refactor code for local models 2024-01-16 17:52:33 +09:00
kwaroran
9db4810bbc Experimental llamacpp support 2024-01-16 10:56:23 +09:00
kwaroran
52940af010 Add option to remove punctuation for HypaMemory 2024-01-15 18:00:19 +09:00
kwaroran
f5b4d87db0 Refactor script processing logic and flag handling 2024-01-15 17:54:41 +09:00
kwaroran
f2e6cfb26d Fix flag assignment and script processing 2024-01-15 14:13:53 +09:00
kwaroran
3745adf9f7 fix script processing logic of move_top and move_bottom commands 2024-01-15 13:57:12 +09:00
kwaroran
ab5f0c075d Fix handle empty text input 2024-01-15 12:41:17 +09:00
kwaroran
a1c6cbdf24 Use two @ instead of three @ for consistancy 2024-01-15 12:38:31 +09:00
kwaroran
bf886325ed Add regex move top and move bottom 2024-01-15 12:34:38 +09:00
kwaroran
5d7a0017dd Update error message in sendChat function 2024-01-15 06:27:59 +09:00
kwaroran
938f4608fa Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-01-15 03:40:34 +09:00