Commit Graph

820 Commits

Author SHA1 Message Date
kwaroran
746d226723 Update error message in supaMemory.ts to use JSON.stringify for da.data 2024-04-11 04:31:02 +09:00
kwaroran
9d0e6567e9 Change default prompt 2024-04-11 00:29:59 +09:00
kwaroran
80d766ff01 Fix variable comparison in runTrigger function 2024-04-10 11:15:23 +09:00
kwaroran
b1428e8593 Fix trigger sync 2024-04-10 11:05:24 +09:00
kwaroran
1a750dc6c6 Add trigger effects and conditions 2024-04-10 10:19:10 +09:00
kwaroran
1a2da8224e Support cbs in trigger 2024-04-10 09:46:06 +09:00
kwaroran
0d57392feb Add Command for trigger 2024-04-10 09:36:28 +09:00
kwaroran
410eaf6de1 Fix triggerscript and commands 2024-04-10 09:25:26 +09:00
kwaroran
b095286b3e Add GPT-4-Turbo and latest models 2024-04-10 07:33:05 +09:00
kwaroran
28241011cf Add model support 2024-04-09 05:49:01 +09:00
kwaroran
86c0e366cc Fix SupaMemory error handling in supaMemory.ts 2024-04-09 03:55:16 +09:00
kwaroran
8d094d5b66 Add supamemory max chunk size and remove deprecated 2024-04-08 23:42:30 +09:00
kwaroran
a4817dd0cb Fix reader.closed check in requestChatDataMain function 2024-04-06 06:11:27 +09:00
kwaroran
ae1d84ead5 Update loadPages value in DefaultChatScreen.svelte and fix request 2024-04-06 06:11:04 +09:00
kwaroran
b61baaa4ae Add antiClaudeOverload option 2024-04-06 05:45:16 +09:00
kwaroran
70d68bf8fe Fix scriptstate assignment in processCommand function 2024-03-30 02:34:34 +09:00
kwaroran
00e86527ce fix trigger variable handling in triggers.ts 2024-03-28 18:37:32 +09:00
kwaroran
9ad8262eb6 Refactor command processing logic and add new commands for variable manipulation 2024-03-28 18:27:18 +09:00
kwaroran
7707e55c87 GlobalFetch 리팩토링, Elevenlabs 다국어모델 정보 body에 삽입, DeepLX 로직구현(미작동) (#328)
# PR Checklist
- [x] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] 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?
- [ ] Did you added a type def?

# Description
1. DeepLX 를 번역 옵션에 넣고 URL, Token을 넣을 수 있게 하였습니다.
2. DeepLX 를 호출하는 로직을 넣었는데, DeepLX의 Body 중 Text는 완전한 텍스트로만 이루어져야 해서 번역
실행시 에러가 발생하는 중입니다. (DeepLX에 globalFetech로 호출은 정상적으로 가는중, body의 text타입만
해결하면 작동,)
3. TTS -> 일레븐랩스 호출시 body에 model을 다국어모델로 지정하였습니다. (정상작동)
4. globalFetch 함수를 리팩토링 하였습니다.

DeepLX 쪽만 해결방법을 찾으면 좋을 것 같은데 로직이 제가 생각한 것과 달라서 파악하는데 시간이 오래걸리고 있습니다.

DeepLX 부분 저도 더 로직 분석해볼 예정이지만, 
Body 부분에서 특수문자 제거 및 본문 텍스트만 파싱해서 번역 후 재조립하는 게 구현 가능하시다면 
해당 부분만 업데이트 해주시면 좋을 것 같습니다.
2024-03-25 18:53:26 +09:00
kwaroran
6fb5b7d6a0 Refactor chat processing logic 2024-03-25 02:57:31 +09:00
kwaroran
98257b2bd6 Rework variable assignment and processing 2024-03-25 02:56:28 +09:00
testman
1d2d71db48 deeplX function added 2024-03-24 19:44:55 +09:00
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