Skip to content

feat: add planning and realization stage prompt assets#70

Open
saschagobel wants to merge 7 commits intomainfrom
feat/querygen-prompt-assets
Open

feat: add planning and realization stage prompt assets#70
saschagobel wants to merge 7 commits intomainfrom
feat/querygen-prompt-assets

Conversation

@saschagobel
Copy link
Collaborator

@saschagobel saschagobel commented Mar 19, 2026

Summary

Introduce canonical system and user prompt assets for the synthetic query generation workflow. This defines stable stage-level instructions and invocation templates for both planning and realization, aligned with the two-stage query generation design.

Key changes

  • Add SYSTEM_PROMPT_PLANNING and USER_PROMPT_PLANNING
    • Weighted sampling over query-generation specification
    • Explicit dimension definitions, constraints, and distribution-aware behavior
  • Add SYSTEM_PROMPT_REALIZATION and USER_PROMPT_REALIZATION
    • One-to-one realization of blueprints into natural-language user queries
    • Clear separation of task construction vs behavioral guardrails
  • Establish consistent prompt structure across stages:
    • ROLE, INPUT, OUTPUT, TASK, CONSTRAINTS
  • Enforce structured output discipline via schema-aligned instructions
  • Keep user prompts lean with runtime placeholders and model-legible payloads

Status

Ready for review.

Closes #58

@saschagobel saschagobel force-pushed the feat/querygen-prompt-assets branch from b34a307 to 9e8a4d7 Compare March 19, 2026 09:26
@saschagobel saschagobel marked this pull request as ready for review March 19, 2026 09:26
@saschagobel saschagobel requested a review from lramir14 March 19, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement prompt assets for synthetic query generation

1 participant