Commit Graph

2303 Commits

Author SHA1 Message Date
kwaroran
725b180094 Bump version to 1.111.2 2024-06-03 18:43:45 +09:00
kwaroran
ed49f72c1b fix: Fix readedChara version pointing number instead of string 2024-06-03 18:43:20 +09:00
kwaroran
5fc08a2d6e refactor: Convert v1 character data to v2 format during import 2024-06-03 18:39:15 +09:00
kwaroran
06a1aef510 fix: risuext checking 2024-06-03 18:28:03 +09:00
kwaroran
0b722ba99b Bump version to 1.111.1 2024-06-03 18:07:34 +09:00
kwaroran
118e112f71 refactor: Set default value for ttsMode in characterFormatUpdate 2024-06-03 18:07:12 +09:00
kwaroran
6d7e9da3e9 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-06-03 18:06:11 +09:00
kwaroran
af2d4342cc fix: remove emotion and additionalasset export to match v2 spec 2024-06-03 18:06:04 +09:00
kwaroran
de6fe08773 fix: remove emotion and additionalasset export to match v2 spec 2024-06-03 18:05:39 +09:00
kwaroran
653e3671e1 refactor: Add v2 warning 2024-06-03 17:59:37 +09:00
kwaroran
31ef0b3085 fix: button margin 2024-06-03 17:51:56 +09:00
kwaroran
a138be7b90 feat: add rollp cbs 2024-06-03 17:50:47 +09:00
kwaroran
eecfa3cc21 Bump version to 1.111.0 2024-06-03 17:38:59 +09:00
kwaroran
cf5c75a9fb refactor: change button order in alertcomp 2024-06-03 17:38:42 +09:00
kwaroran
2ffc85cad8 fix: typo fix 2024-06-03 17:37:25 +09:00
kwaroran
5d15d75b51 refactor: Update translator.ts to include LLM translation for Tauri and Capacitor platforms 2024-06-03 17:37:03 +09:00
kwaroran
bb52688d9d fix: remove max response size in translator in bot preset 2024-06-03 17:35:03 +09:00
kwaroran
b0c9a2e54b Improve LLM Translation (#477)
# 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
1. LLM 번역 응답 크기 소프트코딩화
2. LLM도 DOM파서를 통한 문장 단위 및 병렬 번역을 하도록 수정
3. 바깥쪽 태그가 제대로 제거가 안되는 문제 해결
4. 추가적으로, 기본 번역 프롬프트를 ```You are a translator. Translate the following
html or text into {{slot}}. Do not output anything other than the
translation, punctuations and quotation marks.```으로 변경하고 싶습니다.
------
1. Softcoded LLM translation response size
2. Modified LLM to also do sentence-by-sentence and parallel translation
via DOM parser
3. Fixed an issue with outer tags not being removed properly
4. Additionally, I want to change the default translation prompt to
```You are a translator. Translate the following html or text into
{{slot}}. Do not output anything other than the translation,
punctuations and quotation marks.```
2024-06-03 17:33:15 +09:00
kwaroran
80601a1ec2 Fix Local Backup Loading Failure Due to Incorrect Backup Data Saving. (#476)
# PR Checklist
- [ ] 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?
- [ ] Did you added a type def?

# Description
Fix https://github.com/kwaroran/RisuAI/issues/475
2024-06-03 17:31:52 +09:00
kwaroran
c958c4e5c0 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-06-03 17:28:27 +09:00
kwaroran
6d3976f26d feat: add lorebook regex matching via decorators 2024-06-03 17:28:16 +09:00
kwaroran
9583142ee7 feat: add lorebook regex matching 2024-06-03 17:28:00 +09:00
kwaroran
a39fbee4ff refactor: Remove lorebook comments and convert text to lowercase 2024-06-03 17:24:02 +09:00
kwaroran
5fe10cc3fe feat: Add support for importing character cards with data URIs 2024-06-03 17:11:13 +09:00
kwaroran
ad7ce3f0d1 feat: add charx import 2024-06-03 16:59:44 +09:00
kwaroran
8dff1a6cde feat: add export via ccv3 charx and json 2024-06-02 23:38:55 +09:00
Yuhwan Kim
011795e083 Delete wrong tab space in LanguageSettings.svelte file 2024-06-02 08:02:32 +09:00
Yuhwan Kim
391295d15f Modify LLM HTML translation to also use DOM parser 2024-06-02 08:02:32 +09:00
Yuhwan Kim
fe405c0ed2 Improved outer tag removal. 2024-06-02 08:02:32 +09:00
Yuhwan Kim
3f78daf563 Add translation response size option 2024-06-02 08:02:31 +09:00
Yuhwan Kim
8e7d4169ad Fix Local Backup Loading Failure Due to Incorrect Backup Data Saving. 2024-06-02 00:53:22 +09:00
kwaroran
958217839b feat: add quality parameter for DALL-E image generation 2024-05-31 13:36:46 +09:00
kwaroran
eae826d438 feat: add dalle quality 2024-05-31 13:35:26 +09:00
kwaroran
760d1dd334 chore: Update version to 1.110.3 2024-05-31 13:31:41 +09:00
kwaroran
774b597573 refactor: Add PlaygroundImageGen component to PlaygroundMenu 2024-05-31 13:31:02 +09:00
kwaroran
622854489e feat: Add dalle support 2024-05-31 13:15:01 +09:00
kwaroran
8af7f36214 chore: Update version to 1.110.2 2024-05-31 10:25:14 +09:00
kwaroran
f63e1fc1f3 feat: new input style 2024-05-31 10:25:00 +09:00
kwaroran
a30c59c011 fix: Set error message when image generation fails in runTrigger 2024-05-31 10:05:48 +09:00
kwaroran
cc3c5e2364 refactor: Update TextAreaResizable component styling 2024-05-31 10:04:47 +09:00
kwaroran
836570b940 ref: Refactor MainMenu.svelte component 2024-05-31 10:02:00 +09:00
kwaroran
5dc6103346 chore: Refactor MainMenu.svelte component 2024-05-31 09:53:44 +09:00
kwaroran
dd12e6f0fd chore: Add goCharacterOnImport setting to AccessibilitySettings 2024-05-31 09:51:01 +09:00
kwaroran
f24989c901 feat: Add export without login 2024-05-31 09:39:17 +09:00
kwaroran
6b79ee872f feat: Add support for 'module_enabled' CBS 2024-05-31 08:26:22 +09:00
kwaroran
5e6ab7ff5a feat: Update CBS position decorator to use 'pt' instead of 'tk' 2024-05-30 18:14:27 +09:00
kwaroran
f94964dbcf chore: Update version to 1.110.1 2024-05-30 18:13:09 +09:00
kwaroran
777815a2b2 fix: module placing incorrectly 2024-05-30 18:11:52 +09:00
kwaroran
80b3c30350 fix: fix module removal removing incorrect module 2024-05-30 18:08:07 +09:00
kwaroran
8f43728ec0 chore: Update @swc/core npm dependency to version 1.5.7 2024-05-30 16:08:37 +09:00