GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — ApigeeLlmParams | ADK for TypeScript: API Reference - v2.5.0

  • ApigeeLlmParams

Interface ApigeeLlmParams

The parameters for creating a Gemini instance.

interface ApigeeLlmParams {
    apiKey?: string;
    headers?: Record<string, string>;
    location?: string;
    model: string;
    project?: string;
    proxyUrl?: string;
    useInteractionsApi?: boolean;
    vertexai?: boolean;
}

Hierarchy (View Summary)

  • GeminiParams
    • ApigeeLlmParams
  • Defined in core/src/models/apigee_llm.ts:18

Properties

OptionalapiKey

apiKey?: string

API key to use. If not provided, it will look for the GOOGLE_GENAI_API_KEY, GOOGLE_API_KEY or GEMINI_API_KEY environment variable, in that order. If gemini provider is selected and no key is provided, the fake key "-" will be used for the "x-goog-api-key" header.

Overrides GeminiParams.apiKey

  • Defined in core/src/models/apigee_llm.ts:48

Optionalheaders

headers?: Record<string, string>

Headers to merge with internally crafted headers.

Inherited from GeminiParams.headers

  • Defined in core/src/models/google_llm.ts:61

Optionallocation

location?: string

The Vertex AI location. Required if vertexai is true.

Inherited from GeminiParams.location

  • Defined in core/src/models/google_llm.ts:57

model

model: string

The name of the model to use. The model string specifies the LLM provider (e.g., Vertex AI, Gemini), API version, and the model ID. Supported format: apigee/[<provider>/][<version>/]<model_id> Components: provider (optional): vertex_ai or gemini. version (optional): The API version (e.g., v1, v1beta). If not provided, a default version will selected based on the provider. model_id (required): The model identifier (e.g., gemini-2.5-flash). Examples: - apigee/gemini-2.5-flash - apigee/v1/gemini-2.5-flash - apigee/vertex_ai/gemini-2.5-flash - apigee/gemini/v1/gemini-2.5-flash - apigee/vertex_ai/v1beta/gemini-2.5-flash

Overrides GeminiParams.model

  • Defined in core/src/models/apigee_llm.ts:36

Optionalproject

project?: string

The Vertex AI project ID. Required if vertexai is true.

Inherited from GeminiParams.project

  • Defined in core/src/models/google_llm.ts:53

OptionalproxyUrl

proxyUrl?: string

The proxy URL for the provider API. If not provided, it will look for the APIGEE_PROXY_URL environment variable.

  • Defined in core/src/models/apigee_llm.ts:41

OptionaluseInteractionsApi

useInteractionsApi?: boolean

Whether to use the Interactions API for stateful conversations.

Inherited from GeminiParams.useInteractionsApi

  • Defined in core/src/models/google_llm.ts:65

Optionalvertexai

vertexai?: boolean

Whether to use Vertex AI. If true, project, location should be provided.

Inherited from GeminiParams.vertexai

  • Defined in core/src/models/google_llm.ts:49
Properties
apiKeyheaderslocationmodelprojectproxyUrluseInteractionsApivertexai
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.