Commit Graph

213 Commits

Author SHA1 Message Date
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
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
c805e63c60 Add support for Gemini Pro 1.5 in ModelList.svelte and request.ts 2024-04-17 10:38:23 +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
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
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
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
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
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
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
a15c10763d improve system prompt handling 2024-03-05 02:37:11 +09:00
kwaroran
c2352d49fd Refactor return value of requestChatDataMain function 2024-03-05 01:46:36 +09:00
kwaroran
71d9768809 Add Claude 3 Formating 2024-03-05 01:40:05 +09:00
kwaroran
bde9ef51d4 Add models 2024-03-05 01:07:34 +09:00
kwaroran
66fd70c01a Add postfile function 2024-02-26 23:13:29 +09:00
kwaroran
e797f301d7 Add new Gemini models to ModelList and requestChatDataMain 2024-02-09 01:14:39 +09:00
kwaroran
e414b317d1 Add gpt-3.5-turbo-0125, fix gpt-4-0314 (#288)
# 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

Reference: 
https://platform.openai.com/docs/models/gpt-3-5-turbo
https://platform.openai.com/docs/deprecations

1. Added gpt-3.5-turbo-0125 model: The current gpt-3.5-turbo is pointed
to the 0613 model, but the official documentation says it will
automatically upgrade to the 0125 model on February 16 anyway.
2. Fixed the model name of gpt-4-0314, although it is deprecated.
2024-02-07 02:25:12 +09:00
kwaroran
8bcae0864b Fix formatting for Claude 2024-02-06 21:34:02 +09:00
bangonicdd
85e7becaf6 Add gpt-3.5-turbo-0125, fix gpt-4-0314 2024-02-03 04:30:34 +09:00
kwaroran
afea17dfb3 Update model options in ModelList.svelte and request.ts 2024-01-26 04:24:02 +09:00
kwaroran
1397be4f03 Refactor requestChatDataMain function to handle non-multiGen 2024-01-16 17:54:42 +09:00
kwaroran
1b1c6ad2fd Refactor code for local models 2024-01-16 17:52:33 +09:00
kwaroran
9db4810bbc Experimental llamacpp support 2024-01-16 10:56:23 +09:00
gdosu
013cce2330 fix versioning mistake 2024-01-13 21:26:38 +09:00