Skip to content

negation_prompt

django_spire.contrib.seeding.intelligence.prompts.negation_prompt

negation_prompt

Source code in django_spire/contrib/seeding/intelligence/prompts/negation_prompt.py
def negation_prompt(
    negation_rules: list[str]
) -> Prompt:
    return (
        Prompt()
        .text('This step is mission critical. Do NOT deviate from this requirement.')
        .text('The following are strictly reserved and must never be used under any circumstances:')
        .list(negation_rules)
    )