Skip to content

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

Open
detail-app[bot] wants to merge 1 commit into
devfrom
detail/fix-docs/docs-correct-prompttruncator-priority-fit-order-in-80b6cd
Open

docs: correct PromptTruncator priority/fit order in retrieval-pipeline#130
detail-app[bot] wants to merge 1 commit into
devfrom
detail/fix-docs/docs-correct-prompttruncator-priority-fit-order-in-80b6cd

Conversation

@detail-app

@detail-app detail-app Bot commented Jul 27, 2026

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-app Bot requested a review from WilliamAGH July 27, 2026 16:48
Sign up for free to 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