Creating Plot Twists
    Preparing search index...

    Type Alias AISystemMessage

    A system message. It can contain system information.

    Note: using the "system" part of the prompt is strongly preferred to increase the resilience against prompt injection attacks, and because not all providers support several system messages.

    type AISystemMessage = {
        role: "system";
        content: string;
    }
    Index

    Properties

    Properties

    role: "system"
    content: string