A prefix fragment combines all prior tokens in a generated item with an alternative candidate token, forming a partial text string sent to the model in a targeted completion prompt.

flowchart LR
    A["Prior Tokens<br>'Custom '"] --> C["Prefix Fragment<br>'Custom cycling '"]
    B["Alt Candidate<br>'cycling' (p >= threshold)"] --> C
    C --> D["Completion Prompt"]
    D --> E["Branch Result<br>'Custom cycling jerseys'"]