Commit Graph

24 Commits

Author SHA1 Message Date
Bo26fhmC5M
1775591ef0 feat: add support for OpenAI-compatible embedding API 2025-02-27 23:27:50 +09:00
Bo26fhmC5M
80ba79e2ab fix: stringify object in HypaProcesser to display actual error content instead of [object Object] 2025-02-08 21:33:34 +09:00
Bo26fhmC5M
50361d7aa2 feat: Implement HypaV3 ratio-based memory 2025-01-12 11:05:18 +09:00
LightningHyperBlaze45654
69f44c03c6 Merge remote-tracking branch 'upstream/main' 2024-12-08 20:08:25 -08:00
kwaroran
e0f6c58540 Refactor HypaProcesser instantiation to remove hardcoded model name and add models and others 2024-12-07 00:58:09 +09:00
LightningHyperBlaze45654
b8bb2330cc feat: validate hypav2 data
# Changelist:
## 1. Types
### MainChunks
Added id(int), and chatMemos(Set<string>)
Id: incremental int starting from 0
chatMemos: A set of UUID, containing which chat has been summarized in it.
### Chunks
mainChunkID: A connection of which mainChunk it has been split from
text: the split text data

## 2. Features
### CleanInvalidChunks
Called every time when chat is updated and Hypamemory is used.

Gets all the memo(UUID)s of current chats, and creates a set.
Then checks if each mainChunk's chatMemos set is subset of the enitre memo set. If not, the summarized part's chat is deleted/edited. The mainChunk is filtered out.
Concurrently, the chunks that are split from that mainChunk is also deleted.
2024-12-03 23:28:18 -08:00
kwaroran
efbda2333d Change saving 2024-11-02 01:46:21 +09:00
kwaroran
ffa6308ca3 change globalApi path 2024-10-26 20:40:40 +09:00
kwaroran
d2248383fd Fix return value for custom embedding URL in HypaProcesser 2024-04-29 01:53:39 +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
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
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
1954a79bd0 move transformers.ts 2024-03-17 23:55:55 +09:00
kwaroran
c3f422104a [feat] lorebook plus 2023-11-13 13:04:14 +09:00
kwaroran
3f9e08bfb0 [feat] emotion minilm processer 2023-08-15 17:04:45 +09:00
kwaroran
bc018a97cf [feat] improved supa/hypa memory 2023-08-06 12:38:18 +09:00
kwaroran
8055739527 [fix] hypamemory vector saving fix 2023-06-29 09:19:01 +09:00
kwaroran
6dc105c69a [feat] hypamemory first commit 2023-06-29 00:25:51 +09:00