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 — VertexAiExampleStore | ADK for TypeScript: API Reference - v2.5.0

  • VertexAiExampleStore

Class VertexAiExampleStore

Provides examples from a Vertex AI Example Store.

Hierarchy (View Summary)

  • BaseExampleProvider
    • VertexAiExampleStore
  • Defined in core/src/examples/example.ts:85

Constructors

constructor

  • new VertexAiExampleStore(
        examplesStoreName: string,
        apiClient: ExampleStoreApiClient,
    ): VertexAiExampleStore

    Initializes the VertexAiExampleStore.

    Parameters

    • examplesStoreName: string

      The resource name of the vertex example store, in the format of projects/{project}/locations/{location}/exampleStores/{example_store}.

    • apiClient: ExampleStoreApiClient

      A client that reaches the Vertex AI Example Store API. adk-js does not bundle the vertexai dependency the Python SDK relies on, so the caller supplies this client.

    Returns VertexAiExampleStore

    Overrides BaseExampleProvider.constructor

    • Defined in core/src/examples/example.ts:96

Properties

Readonly[BASE_EXAMPLE_PROVIDER_SIGNATURE_SYMBOL]

"[BASE_EXAMPLE_PROVIDER_SIGNATURE_SYMBOL]": true

A unique symbol to identify ADK example provider classes.

Inherited from BaseExampleProvider.[BASE_EXAMPLE_PROVIDER_SIGNATURE_SYMBOL]

  • Defined in core/src/examples/base_example_provider.ts:42

ReadonlyexamplesStoreName

examplesStoreName: string

The resource name of the vertex example store, in the format of projects/{project}/locations/{location}/exampleStores/{example_store}.

  • Defined in core/src/examples/example.ts:97

Methods

getExamples

  • getExamples(query: string): Promise<Example[]>

    Retrieves relevant examples from the Vertex AI Example Store for the given query.

    Parameters

    • query: string

    Returns Promise<Example[]>

    Overrides BaseExampleProvider.getExamples

    • Defined in core/src/examples/example.ts:107
Constructors
constructor
Properties
[BASE_EXAMPLE_PROVIDER_SIGNATURE_SYMBOL]examplesStoreName
Methods
getExamples
You are visitor 01402775 — 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.