@molroo-ai/sdk
    Preparing search index...

    Interface GeneratePersonaResult

    Result of LLM-powered persona generation.

    interface GeneratePersonaResult {
        behavior_rules?: string;
        character_backstory?: string;
        persona: {
            goals: { content: string; mutable: boolean; priority: number }[];
            identity: {
                core_values: string[];
                name: string;
                role?: string;
                speaking_style: string;
            };
            personality: {
                A: number;
                C: number;
                E: number;
                H: number;
                N: number;
                O: number;
            };
        };
    }
    Index

    Properties

    behavior_rules?: string

    Explicit behavior rules and constraints

    character_backstory?: string

    Background narrative shaping worldview and behavior

    persona: {
        goals: { content: string; mutable: boolean; priority: number }[];
        identity: {
            core_values: string[];
            name: string;
            role?: string;
            speaking_style: string;
        };
        personality: {
            A: number;
            C: number;
            E: number;
            H: number;
            N: number;
            O: number;
        };
    }

    Persona config — structured output from LLM