Information about prompts.

interface LDMessage {
    content: string;
    role: "user" | "assistant" | "system";
}

Properties

Properties

content: string

Content for the prompt.

role: "user" | "assistant" | "system"

The role of the prompt.