ADK for TypeScript: API Reference
    Preparing search index...

    Class ChromeBuiltInLlm

    See the file overview for the design rationale.

    Hierarchy (View Summary)

    Constructors

    Properties

    "[BASE_MODEL_SYMBOL]": true

    A unique symbol to identify BaseLlm classes.

    model: string
    supportedModels: (string | RegExp)[] = ...

    List of supported models in regex for LlmRegistry.

    Accessors

    • get trackingHeaders(): Record<string, string>

      Returns Record<string, string>

    Methods

    • Generates one content from the given contents and tools.

      Parameters

      • llmRequest: LlmRequest

        LlmRequest, the request to send to the LLM.

      • stream: boolean = false

        whether to do streaming call. For non-streaming call, it will only yield one Content.

      • OptionalabortSignal: AbortSignal

      Returns AsyncGenerator<LlmResponse, void>

      A generator of LlmResponse.