Creating Plot Twists
    Preparing search index...

    Type Alias ChatTurn

    One completed turn of a conversation, and the note it became.

    type ChatTurn = {
        role: "user" | "agent";
        content: string;
        at: Date;
        noteId: Uuid;
    }
    Index

    Properties

    Properties

    role: "user" | "agent"
    content: string

    May be truncated for a very large transcript. ChatTurn.noteId always addresses the complete note, so read it directly for the verbatim text of a specific turn.

    at: Date
    noteId: Uuid

    The note this turn was written to.