Commit Graph

763 Commits

Author SHA1 Message Date
kwaroran
bd2e1a05b7 Update chunk size in HypaProcesser class 2024-04-24 20:31:44 +09:00
kwaroran
d2288d326b Refactor similarity calculation and sorting in HypaProcesser class 2024-04-24 20:30:14 +09:00
kwaroran
acf72727b6 Remove unessesary convertions 2024-04-24 20:29:10 +09:00
kwaroran
2eb27a2dde Refactor runEmbedding function in transformers.ts 2024-04-24 20:14:48 +09:00
kwaroran
97d672d270 Fix rangeStart condition in templateCheck function 2024-04-24 20:03:49 +09:00
kwaroran
430c752da2 Add non-advanced chat template 2024-04-24 20:00:52 +09:00
kwaroran
da8e57c542 Add non-advanced settings 2024-04-24 19:58:14 +09:00
kwaroran
5b598eedd7 Fix typo 2024-04-24 19:51:07 +09:00
kwaroran
ab226c8b9d Fix text handling 2024-04-24 00:27:49 +09:00
kwaroran
393e702126 Fix type error in requestChatDataMain function 2024-04-24 00:23:21 +09:00
kwaroran
414fa5348c Fix hanuraiMemory function to use shift instead of pop for chats array 2024-04-24 00:15:06 +09:00
kwaroran
45acd4b6d8 Refactor chat formatting and fix Harunai Memory 2024-04-23 22:50:44 +09:00
kwaroran
2abd3bf15a Add Harunai Memory 2024-04-23 22:07:44 +09:00
kwaroran
376fa1641b Add nomic embedding 2024-04-23 20:41:08 +09:00
kwaroran
bb0ad4c57e Add chat formatting and use instruction prompt feature 2024-04-23 18:31:32 +09:00
kwaroran
e93f625ebd Add openrouter provider 2024-04-21 14:24:26 +09:00
kwaroran
6b91875547 Update chatTemplate.ts with additional templates 2024-04-20 22:30:58 +09:00
kwaroran
5ac4d130e5 Update chatTemplate.ts with vicuna and alpaca 2024-04-20 20:44:30 +09:00
kwaroran
c9011da053 Add Jinja based formating 2024-04-20 19:27:17 +09:00
kwaroran
9b7a9c788c Add AI model settings to BotSettings.svelte and request.ts 2024-04-19 13:24:29 +09:00
kwaroran
354bcbd88b Add removeIncompleteResponse 2024-04-18 22:47:38 +09:00
kwaroran
0a2fd4a4c2 Add autoContinueChat setting 2024-04-18 22:25:22 +09:00
kwaroran
f47f2e95a5 Fix autoContinueMinTokens 2024-04-18 22:06:29 +09:00
kwaroran
83f0cb005c Add autoContinueMinTokens setting 2024-04-18 13:37:46 +09:00
kwaroran
4e5df79cb0 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-04-17 21:01:59 +09:00
kwaroran
4f8477538d add ollama package and support for ollama-hosted model 2024-04-17 21:01:56 +09:00
kwaroran
bffafc31ff add aws opus (#363)
# 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/863f5f58-69ff-4e81-97fb-c7212f1f8503)
2024-04-17 10:45:29 +09:00
kwaroran
b17b980227 revert lorebook decorator handling for now 2024-04-17 10:42:56 +09:00
kwaroran
c805e63c60 Add support for Gemini Pro 1.5 in ModelList.svelte and request.ts 2024-04-17 10:38:23 +09:00
kwaroran
58fe5bee5f Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-04-17 10:33:37 +09:00
kwaroran
afb9601d82 Add decorator functions 2024-04-17 10:33:35 +09:00
bangonicdd
b2c186eb8b add aws opus 2024-04-17 00:53:18 +09:00
IHaBiS02
ad9d4cbab9 Merge branch 'kwaroran:main' into main 2024-04-16 06:07:28 +09:00
kwaroran
ccb45ce2c5 Fix error handling in requestChatDataMain function 2024-04-16 00:00:05 +09:00
kwaroran
d93fd7b191 Refactor loadLoreBookPrompt function in lorebook.ts 2024-04-15 23:58:57 +09:00
kwaroran
706e208f53 Refactor loadLoreBookPrompt function in lorebook.ts 2024-04-15 23:51:57 +09:00
kwaroran
c810a64a0f Fix condition in supaMemory.ts to use greater than instead of less than 2024-04-13 17:28:55 +09:00
IHaBiS02
6cf004cdbc Fix typo 2024-04-11 22:42:28 +09:00
IHaBiS02
19d336820c Add logit_bias supports for gpt-4-turbo 2024-04-11 22:40:48 +09:00
kwaroran
35af70f70f Fix hypamemory duplication problem 2024-04-11 05:42:34 +09:00
kwaroran
3726c96a29 Add metadata viewer 2024-04-11 05:18:47 +09:00
kwaroran
a98c9f2022 Fix asHyper flag in sendChat function 2024-04-11 04:50:42 +09:00
kwaroran
3752b4e550 Add chat process indication mark 2024-04-11 04:43:56 +09:00
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