[GH-ISSUE #816] [Feature]: Add a live text box entry at the top of lorebooks that accepts a paragraph for keyword testing. #394

Closed
opened 2026-10-20 17:28:23 +07:00 by bsakaguchi · 2 comments
Owner

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

Originally assigned to: @Romuromylus on GitHub.

What problem does this solve?

I am a pretty new user to lorebooks and I had not used sillytavern in the past and as a result I am having a bit of a hard time finetuning my lorebook entry bloat. I was wondering if it was possible to add a text box at the top of the entries that essentially turned it into a live test mode so I could see how my sentences or rp playouts affects my keyword entries so I can have the least amount of triggers as possible while still always capturing my case of it. I know it is also based on summary, past # of messages, and memories so its a little more complex then just your messages but it would still be a huge help for a newbie like me.

Proposed solution

Add a text box at the top of the entries that essentially turned it into a live test mode that would highlight the entries that would be triggered by your text box text.

Alternatives considered

I know the world info button has the lorebooks and context and is getting improvements such as what gets cut for too much context and it hits a limit but that is more about context size. What I am looking for is more of finetuning my logic to trigger the least amount.

Additional context

Template check

  • [] I DID NOT read this template and provide the requested details.
Originally created by @EchoEclipseWolf on GitHub (May 14, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/816 Originally assigned to: @Romuromylus on GitHub. ## What problem does this solve? I am a pretty new user to lorebooks and I had not used sillytavern in the past and as a result I am having a bit of a hard time finetuning my lorebook entry bloat. I was wondering if it was possible to add a text box at the top of the entries that essentially turned it into a live test mode so I could see how my sentences or rp playouts affects my keyword entries so I can have the least amount of triggers as possible while still always capturing my case of it. I know it is also based on summary, past # of messages, and memories so its a little more complex then just your messages but it would still be a huge help for a newbie like me. ## Proposed solution Add a text box at the top of the entries that essentially turned it into a live test mode that would highlight the entries that would be triggered by your text box text. ## Alternatives considered I know the world info button has the lorebooks and context and is getting improvements such as what gets cut for too much context and it hits a limit but that is more about context size. What I am looking for is more of finetuning my logic to trigger the least amount. ## Additional context <!-- Optional: mockups, related issues, references, or examples --> ## Template check - [] I DID NOT read this template and provide the requested details.
Author
Owner

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

Triage note: labeling this as normal-scope because the request is a focused lorebook authoring aid: enter sample text and see which entries would trigger.

The least risky next step is to keep it scoped to keyword-trigger preview behavior before expanding into full context-budget or memory-aware simulation.

<!-- gh-comment-id:4454557926 --> @cha1latte commented on GitHub (May 14, 2026): Triage note: labeling this as `normal-scope` because the request is a focused lorebook authoring aid: enter sample text and see which entries would trigger. The least risky next step is to keep it scoped to keyword-trigger preview behavior before expanding into full context-budget or memory-aware simulation.
Author
Owner

@Romuromylus commented on GitHub (May 14, 2026):

I'm picking this up. Scoping to keyword-trigger preview only (per the triage note) — a collapsible 'Keyword test' panel at the top of the Entries tab that takes user-pasted text and visually highlights which entries would activate. Honors keys, secondary keys + selective logic, useRegex, matchWholeWords, caseSensitive, enabled, and flags constant entries as always-active. Out of scope for this pass: timing (sticky/cooldown/delay), probability rolls, character/persona filters, semantic embeddings, recursive scan, group selection — those can land later if the keyword-only preview proves useful.

Will open a PR shortly once the implementation is verified on my fork deployment.

<!-- gh-comment-id:4455182721 --> @Romuromylus commented on GitHub (May 14, 2026): I'm picking this up. Scoping to keyword-trigger preview only (per the triage note) — a collapsible 'Keyword test' panel at the top of the Entries tab that takes user-pasted text and visually highlights which entries would activate. Honors keys, secondary keys + selective logic, useRegex, matchWholeWords, caseSensitive, enabled, and flags constant entries as always-active. Out of scope for this pass: timing (sticky/cooldown/delay), probability rolls, character/persona filters, semantic embeddings, recursive scan, group selection — those can land later if the keyword-only preview proves useful. Will open a PR shortly once the implementation is verified on my fork deployment.
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#394
No description provided.