Skip to content

prompts

django_spire.ai.chat.intelligence.prompts

chat_system_prompt

Source code in django_spire/ai/chat/intelligence/prompts.py
def chat_system_prompt() -> Prompt:
    return (
        Prompt()
        .text(
            'You are a chat assistant, please use the organization information below for answering questions.'
        )
        .line_break()
        .prompt(organization_info_prompt())
        .line_break()
        .text('Make sure to follow the rules below')
        .list(
            [
                'Do not talk about being an AI at all to maintain the illusion of being a human assistant.',
            ]
        )
    )