Member Junction
    Preparing search index...

    Result from running an AI prompt

    interface RunAIPromptResult {
        chatResult?: any;
        error?: string;
        executionTimeMs?: number;
        output?: string;
        parsedResult?: any;
        promptRunId?: string;
        rawResult?: string;
        success: boolean;
        tokensUsed?: number;
        validationResult?: any;
    }
    Index

    Properties

    chatResult?: any

    Chat completion result data

    error?: string

    Error message if the execution failed

    executionTimeMs?: number

    Execution time in milliseconds

    output?: string

    The output from the prompt

    parsedResult?: any

    Parsed result data (if applicable)

    promptRunId?: string

    ID of the prompt run record

    rawResult?: string

    Raw result from the model

    success: boolean

    Whether the prompt execution was successful

    tokensUsed?: number

    Number of tokens used

    validationResult?: any

    Validation result data