Commit Graph

677 Commits

Author SHA1 Message Date
sub-hub
e5a88c4ecb Add support for custom embedding URL in PlaygroundEmbedding.svelte and HypaProcesser 2024-04-27 18:21:44 +09:00
kwaroran
091cf4f35c Fix import module checking 2024-04-27 06:29:03 +09:00
kwaroran
0ebc919080 Fix toRPN cac 2024-04-25 14:43:52 +09:00
kwaroran
6ae39619b7 Add support for bitwise OR and AND operators in calculateRPN function 2024-04-25 04:10:00 +09:00
kwaroran
45a9068e58 Fix regex bug in executeRPNCalculation function 2024-04-25 04:00:53 +09:00
kwaroran
bf15c7d860 Add support for var loading in calc and add special syntax for calc 2024-04-25 04:00:08 +09:00
kwaroran
63e3492466 Fix > and < not working 2024-04-25 03:12:16 +09:00
kwaroran
be38e42186 Add comparison operators < and > to calculateRPN function 2024-04-25 02:51:37 +09:00
kwaroran
edeb77e085 Add ^ and % to calc 2024-04-25 02:47:44 +09:00
kwaroran
11b1d4d4f3 Replace cloneDeep to native structuredclone and remove unused import 2024-04-25 01:17:14 +09:00
kwaroran
c0c5592c4c Add new commands to processCommand function 2024-04-25 01:05:20 +09:00
kwaroran
68571143bf Add risu_char and risu_user 2024-04-25 01:01:02 +09:00
kwaroran
4a820aac4a Remove deep 2024-04-25 00:59:02 +09:00
kwaroran
3d8b3b669d Add playground and fix embeddings 2024-04-24 21:49:25 +09:00
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