ADK TypeScript Documentation - v0.0.4
    Preparing search index...

    Class LLMResponse

    Response from an LLM

    Index

    Constructors

    • Parameters

      • data: {
            content?: null | string;
            function_call?: FunctionCall;
            is_partial?: boolean;
            raw_response?: any;
            role?: string;
            tool_calls?: ToolCall[];
        }

      Returns LLMResponse

    Properties

    content?: null | string

    Content of the response

    function_call?: FunctionCall

    Function calls in the response

    is_partial?: boolean

    Whether this is a partial response in a stream

    raw_response?: any

    Raw provider response

    role: string

    Role of the message (usually 'assistant')

    tool_calls?: ToolCall[]

    Tool calls in the response