Member Junction
    Preparing search index...

    Result from executing a simple prompt

    interface SimplePromptResult {
        error?: string;
        executionTimeMs?: number;
        modelName: string;
        result?: string;
        resultObject?: any;
        success: boolean;
    }
    Index

    Properties

    error?: string

    Error message if execution failed

    executionTimeMs?: number

    Execution time in milliseconds

    modelName: string

    Name of the model used

    result?: string

    The text response from the model

    resultObject?: any

    Parsed JSON object if the response contained JSON

    success: boolean

    Whether the execution was successful