kwaroran
4fe027f306
Add support for custom embedding URL in Playground ( #391 )
...
# PR Checklist
- [x] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] 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
Add support Openai-compatible custom embedding server on the playground.
Openai-compatible embedding servers:
https://github.com/toshsan/embedding-server
https://github.com/limcheekin/open-text-embeddings
https://github.com/michaelfeil/infinity
I only tested it with infinity.
there is also a feature that If url does not end in /embeddings,
automatically adds /embeddings.
I think I need to test it with more local embedding servers, but I think
it'll be okay since it's only Playground
2024-04-29 01:51:07 +09:00
sub-hub
cefdc1ad11
Fix customEmbeddingUrl handling in HypaProcesser
2024-04-27 22:41:48 +09:00
sub-hub
96622482b3
Add appendLastPath util function and use it in hypamemory
2024-04-27 22:09:23 +09:00
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
228b62d43b
Update version numbers to 1.100.2
2024-04-27 06:27:33 +09:00
kwaroran
dffd424f0c
Fix var not updating the display
2024-04-27 06:27:16 +09:00
kwaroran
94c1b33d14
Update version numbers to 1.100.1
2024-04-26 22:35:16 +09:00
kwaroran
901db2b09e
Add ignoredErrors in alertError function
2024-04-26 22:34:59 +09:00
kwaroran
15a6c8de8c
Add border color in update alert in MainMenu.svelte
2024-04-25 15:03:10 +09:00
kwaroran
613ab7e166
Add chat variables in patchnote
2024-04-25 14:44:54 +09:00
kwaroran
0ebc919080
Fix toRPN cac
2024-04-25 14:43:52 +09:00
kwaroran
a476bc9c05
Update version numbers to 1.100.0
2024-04-25 14:43:04 +09:00
kwaroran
8d91267c69
Fix conditional statements in Chat.svelte, DefaultChatScreen.svelte, SideChatList.svelte, and Sidebar.svelte
2024-04-25 14:31:32 +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
bac475f22f
Add none blank message
2024-04-25 02:42:56 +09:00
kwaroran
5bd57df411
Fix sidebar and textarea size
2024-04-25 02:30:10 +09:00
kwaroran
f1dfabc408
Add GUI size options
2024-04-25 02:17:57 +09:00
kwaroran
9b44ad2f1c
Fix optimaizedinput
2024-04-25 01:30:02 +09:00
kwaroran
e1f738c4ae
Fix import indenetation
2024-04-25 01:24:33 +09:00
kwaroran
11b1d4d4f3
Replace cloneDeep to native structuredclone and remove unused import
2024-04-25 01:17:14 +09:00
kwaroran
cc744853d2
Add hotkey functionality to handle Escape key
2024-04-25 01:08:03 +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
c10eab506a
Update error handling in main.ts and globalApi.ts
2024-04-25 00:57:09 +09:00
kwaroran
2d1a504cdb
Add unixtime function to parser.ts
2024-04-25 00:44:54 +09:00
kwaroran
eceeb98768
Add setdefaultvar
2024-04-25 00:43:10 +09:00
kwaroran
719040789c
Add idle_duration
2024-04-25 00:37:26 +09:00
kwaroran
ba6195f1de
Rename idle_duration to message_idle_duration
2024-04-25 00:34:57 +09:00
kwaroran
0d067e27d0
Fix datetime format length check in parser.ts
2024-04-25 00:34:17 +09:00
kwaroran
06742fe16e
Update datetimeformat
2024-04-25 00:33:49 +09:00
kwaroran
3e5b922c8b
Remove legacy field
2024-04-25 00:30:09 +09:00
kwaroran
413ccc6bfc
Update version number to 1.99.1
2024-04-25 00:17:46 +09:00
kwaroran
e88b8c64c3
Update PlaygroundJinja.svelte to bind onInput event to TextAreaInput
2024-04-24 23:14:16 +09:00
kwaroran
c777b0048a
Update PlaygroundSyntax and PlaygroundTokenizer components
2024-04-24 23:13:55 +09:00
kwaroran
0fa918836f
Move playground
2024-04-24 23:12:28 +09:00
kwaroran
b6cb58b265
Fix sidebar button alignment issue
2024-04-24 23:09:15 +09:00
kwaroran
4bf65af264
Update version number to 1.99.0
2024-04-24 22:54:08 +09:00
kwaroran
561ec6137c
Update playground Icon
2024-04-24 22:48:47 +09:00
kwaroran
957a882797
Add UserIcon for playground to Chat.svelte
2024-04-24 22:46:42 +09:00
kwaroran
f50e5fcd69
Add Chat playground
2024-04-24 22:42:27 +09:00
kwaroran
430c162af1
Fix name in syntax playground
2024-04-24 22:14:00 +09:00
kwaroran
63e54a4716
Fix consistantChar option not applying
2024-04-24 22:12:24 +09:00
kwaroran
71c7e088e5
Add PlaygroundSyntax
2024-04-24 22:11:38 +09:00