docs: surface premise in prompt-construction integrations#46
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Surface premise more clearly in existing prompt-construction runtime and reference integrations.
This PR does not add new examples or change runtime mechanics. It updates docs and focused tests so existing integrations visibly show premise as authoritative context alongside policy.
Updated surfaces include:
Why
The generic writing-assistant example now distinguishes premise from policy directly.
These runtime/reference prompt-construction surfaces already supported premise, but the docs and tests emphasized policy more clearly than premise. This made premise less visible even though it was already part of the constructed request/state contract.
This PR makes the existing behavior explicit:
Example metadata
Checklist
Notes
Validation performed:
uv run --no-sync pytest python/tests/test_litellm_basic.py python/tests/test_openwebui_pipe.py./scripts/validate_python.shnode --test typescript/starter_apps/nextjs/basic/tests/smoke.test.mjsnode --test typescript/starter_apps/nextjs/with_drafter/tests/smoke.test.mjs./scripts/validate_typescript_fast.shnpx --yes markdownlint-cli2 python/examples/prompt_construction/litellm/README.md python/reference_integrations/openwebui_pipe/README.md typescript/starter_apps/nextjs/basic/README.md typescript/starter_apps/nextjs/with_drafter/README.mdAll validation passed.