Skip to content

[FEATURE] Prompt repetition primitives for AI Services and RAG #570

@qicesun

Description

@qicesun

Goal

Add optional prompt repetition for:

  • AI Services user input (non-RAG)
  • RAG retrieval query text

Why

Paper: https://arxiv.org/abs/2512.14982
Main signal: gains are mostly in non-reasoning setups.

Requirements

  • Optional feature, no default behavior change
  • Idempotent (no repeated amplification)
  • Input guardrail skips RAG-augmented input by default
  • RAG support via QueryTransformer
  • Keep implementation in community-core

Delivery

  • PR1: base components
  • PR2: AUTO gates
  • PR3: usage guide

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Medium priorityenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions