Commit Graph

1757 Commits

Author SHA1 Message Date
kwaroran
1e4d372f3b refactor: improve charx loading 2024-06-03 22:13:24 +09:00
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
af2d4342cc fix: remove emotion and additionalasset export to match v2 spec 2024-06-03 18:06:04 +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
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
6d3976f26d feat: add lorebook regex matching via decorators 2024-06-03 17:28:16 +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
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
a30c59c011 fix: Set error message when image generation fails in runTrigger 2024-05-31 10:05:48 +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
f94964dbcf chore: Update version to 1.110.1 2024-05-30 18:13:09 +09:00
kwaroran
043dfd578f chore: Update version to 1.110.0 2024-05-30 13:41:18 +09:00
kwaroran
979cc4fabf refactor: Update settings menu index and open settings after importing character URL 2024-05-30 13:16:31 +09:00
kwaroran
4709e1bfe0 feat: Add success message after importing character URL 2024-05-30 13:13:17 +09:00
kwaroran
c4651408a6 refactor: Add importPreset function to handle importing presets in characterCards.ts 2024-05-30 13:12:49 +09:00
kwaroran
170e673a19 refactor: Add 'slot' and 'position' to normalCBS list in highlight.ts 2024-05-30 12:24:45 +09:00
kwaroran
c169cd4e96 feat: add pt_ positions 2024-05-30 12:23:35 +09:00
kwaroran
b839f5247e refactor: Add trigger command help and update lowLevelAccess check in importCharacterCardSpec 2024-05-29 18:46:37 +09:00
kwaroran
c23fa882d7 chore: Update app version to 1.109.0 2024-05-29 18:43:50 +09:00
kwaroran
dbbbf27d6d refactor: Add trigger command help 2024-05-29 18:39:37 +09:00
kwaroran
e5fc275b6a refactor: Add trigger command 2024-05-29 18:37:26 +09:00
kwaroran
2870fb2238 refactor: Update lowLevelAccess check in importCharacterCardSpec 2024-05-29 18:34:57 +09:00
kwaroran
f1777aba2c feat: Add new triggers 2024-05-29 18:30:54 +09:00
kwaroran
d60be8ec0a refactor: Update lowLevelAccess check in importCharacterCardSpec 2024-05-29 18:03:49 +09:00
kwaroran
4bc0d51854 refactor: Improve lowLevelAccess check in importCharacterCardSpec 2024-05-29 14:02:51 +09:00
kwaroran
e604aa4cda refactor: Update lowLevelAccess check in importCharacterCardSpec 2024-05-29 11:34:13 +09:00