mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1854] [Feature]: Re-vectorize Lorebook Keeper updates automatically #899
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#899
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cha1latte on GitHub (Jun 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1854
Originally assigned to: @cha1latte on GitHub.
What problem does this solve?
When Lorebook Keeper creates or edits lorebook entries, edited entries lose their stored semantic vectorization. This avoids stale embeddings, but users who rely on semantic matching need to manually re-vectorize after Keeper updates.
Proposed behavior
Add an optional or best-effort auto-vectorization step after Lorebook Keeper applies entry changes.
A narrow version would only vectorize entries that Lorebook Keeper created or modified, using the configured embedding connection/model when available.
Expected owner or impact area
Refactor branch considerations
Lorebooks already support manual semantic vectorization, including "Vectorize missing" and "Re-vectorize" controls. Lorebook Keeper currently clears embeddings on edited entries, but there is no automatic re-vectorization after the update is applied.
This should probably be best-effort so embedding failures do not block approving/applying Lorebook Keeper updates.
Alternatives considered
Users can manually run "Vectorize missing" or "Re-vectorize" from the lorebook editor after Keeper updates. That works, but it is easy to forget.
Additional context
Low priority quality-of-life request for users combining Lorebook Keeper with semantic lorebook matching.
Template check
@cha1latte commented on GitHub (Jun 1, 2026):
added in #1864