Tela SDK for JavaScript
    Preparing search index...

    Type Alias SyncCompletionResult<TContent>

    Result returned from a synchronous canvas execution.

    type SyncCompletionResult<TContent> = {
        choices: {
            message: {
                content: TContent;
                function_call: any;
                role: string;
                tool_calls: any[];
            };
        }[];
        created: number;
        id: string;
        object: string;
    }

    Type Parameters

    • TContent
    Index

    Properties

    choices: {
        message: {
            content: TContent;
            function_call: any;
            role: string;
            tool_calls: any[];
        };
    }[]
    created: number
    id: string
    object: string