[GH-ISSUE #741] [Feature]: Allow lorebook entries to be excluded from vectorization #351

Closed
opened 2026-10-20 17:27:55 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Xelvanis on GitHub (May 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/741

Originally assigned to: @cha1latte on GitHub.

What problem does this solve?

Lorebooks currently have a single Vectorize now action that vectorizes every entry. Some lorebook entries should remain key-triggered only, so their keys are respected without also making the entry available through vector search.

Right now the workaround is to manually edit an entry after vectorization to unvectorize it, but that is awkward and easy to lose the next time the whole lorebook is vectorized.

Proposed solution

Add a per-entry option to exclude a lorebook entry from vectorization.

Suggested behavior:

  • Lorebook entries can be marked as excluded from vectorization.
  • Bulk Vectorize now skips excluded entries.
  • If an entry is marked excluded after it already has vector data, the app should remove or ignore that stored vector data.
  • Key-based lorebook activation should continue to work normally for excluded entries.

Alternatives considered

The current workaround is to edit entries after vectorization so they become unvectorized again. That works only as a manual cleanup step and does not express the user's intent clearly in the lorebook UI.

Additional context

Severity: Low.

User report from 12 May 2026: they want some lorebook entries to remain keyed/manual only while still being able to bulk-vectorize the rest of the lorebook.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Xelvanis on GitHub (May 12, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/741 Originally assigned to: @cha1latte on GitHub. ## What problem does this solve? Lorebooks currently have a single **Vectorize now** action that vectorizes every entry. Some lorebook entries should remain key-triggered only, so their keys are respected without also making the entry available through vector search. Right now the workaround is to manually edit an entry after vectorization to unvectorize it, but that is awkward and easy to lose the next time the whole lorebook is vectorized. ## Proposed solution Add a per-entry option to exclude a lorebook entry from vectorization. Suggested behavior: - Lorebook entries can be marked as excluded from vectorization. - Bulk **Vectorize now** skips excluded entries. - If an entry is marked excluded after it already has vector data, the app should remove or ignore that stored vector data. - Key-based lorebook activation should continue to work normally for excluded entries. ## Alternatives considered The current workaround is to edit entries after vectorization so they become unvectorized again. That works only as a manual cleanup step and does not express the user's intent clearly in the lorebook UI. ## Additional context Severity: Low. User report from 12 May 2026: they want some lorebook entries to remain keyed/manual only while still being able to bulk-vectorize the rest of the lorebook. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@cha1latte commented on GitHub (May 12, 2026):

Triage note: labeling this as normal-scope because it is a focused lorebook-vectorization control for an existing lorebook workflow.

The least risky next step is to add a per-entry exclusion flag that bulk vectorization respects while preserving normal key-based lorebook activation.

<!-- gh-comment-id:4432577215 --> @cha1latte commented on GitHub (May 12, 2026): Triage note: labeling this as `normal-scope` because it is a focused lorebook-vectorization control for an existing lorebook workflow. The least risky next step is to add a per-entry exclusion flag that bulk vectorization respects while preserving normal key-based lorebook activation.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#351
No description provided.