Skip to content

docs: correct PromptTruncator priority/fit order in retrieval-pipeline - #130

Merged
WilliamAGH merged 1 commit into
devfrom
detail/fix-docs/docs-correct-prompttruncator-priority-fit-order-in-80b6cd
Jul 29, 2026
Merged

docs: correct PromptTruncator priority/fit order in retrieval-pipeline#130
WilliamAGH merged 1 commit into
devfrom
detail/fix-docs/docs-correct-prompttruncator-priority-fit-order-in-80b6cd

Conversation

@detail-app

Copy link
Copy Markdown
Contributor

The "Priority-based truncation" section described the pre-cec8a0c algorithm: it listed HIGH as only the user query and fit conversation history before all context documents. After cec8a0c, HIGH-priority context documents (curated lesson content) are retained before conversation history, and only LOW-priority context docs are fit afterward. The table and algorithm steps now reflect this order.

A reader following the old docs would expect curated lesson context to be dropped before older conversation turns, when in fact it is now retained first.

Introduced by commit cec8a0c (@WilliamAGH, #114)


Doc Drift PRs can be configured here.

@detail-app
detail-appBot requested a review from WilliamAGHJuly 27, 2026 16:48
@WilliamAGH
WilliamAGH merged commit 9d861d4 into devJul 29, 2026
3 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@WilliamAGH