mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3277] docs: no user guide for Knowledge Sources / RAG (Retrieval vs Router agents, uploading sources) #1772
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#1772
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 @kolacheee on GitHub (Jul 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3277
Originally assigned to: @SpicyMarinara on GitHub.
A shipped, user-facing feature has no user documentation. Found in a docs-coverage sweep against v2.1.0 (each gap re-checked with fresh greps across
docs/andREADME.mdto confirm coverage really is absent). Suggested home: new-docdocs/KNOWLEDGE_SOURCES.md.Feature: Knowledge Sources & retrieval (RAG): Knowledge Retrieval vs Knowledge Router agents, uploading sources, embedder dependency
Why it needs docs (user impact):
This is Marinara's built-in RAG. The Retrieval-vs-Router choice materially changes cost and accuracy, the Router's dependence on tight entry descriptions is a hidden gotcha, and retrieval silently degrades when the embedder is unavailable. Users have no reference to set this up or debug 'my knowledge isn't being pulled in'.
What the docs currently say (i.e. the gap):
grep -ri 'knowledge source|knowledge retrieval|knowledge router|knowledge base|RAG' docs + README: PROFESSOR_MARI.md lines 91-93 give three one-line definitions but no how-to and no cost/precision guidance; ROLEPLAY.md lines 87/93/272 mention them only as cached injections that 'can be viewed but not re-run'; FRONTEND.md lines 235/535/605/648 are dev tables. README has zero hits. Nothing explains how to upload a knowledge source, the Retrieval-vs-Router cost/precision choice, that Router keys off each entry's user-written description, or that retrieval needs a working embedder.
Evidence it shipped and is user-facing:
Two distinct agents with a real cost/precision tradeoff, verified in source. packages/server/src/services/agents/knowledge-router.ts header: 'A lower-cost alternative to the knowledge-retrieval agent. Instead of summarizing every lorebook entry, the router reads a short catalog (entry id + name + summary) and returns the IDs...'; the catalog summary is 'the entry's user-written description if non-empty, otherwise a fallback snippet' and the design 'let[s] power users tune precision by writing tight descriptions'. packages/server/src/routes/knowledge-sources.routes.ts handles file upload. Retrieval semantic modes fall back to random when the local embedder is unavailable.
Confidence: high. This is a suggested new doc/section, not a bug - close if it's out of scope or already planned.
@SpicyMarinara commented on GitHub (Jul 5, 2026):
Addressed in #3289.