Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DataStoreTool

import type { DataStoreTool } from "https://googleapis.deno.dev/v1/ces:v1.ts";

Tool to retrieve from Vertex AI Search datastore or engine for grounding. Accepts either a datastore or an engine, but not both. See Vertex AI Search: https://cloud.google.com/generative-ai-app-builder/docs/enterprise-search-introduction.

interface DataStoreTool {
boostSpecs?: DataStoreToolBoostSpecs[];
dataStoreSource?: DataStoreToolDataStoreSource;
description?: string;
filterParameterBehavior?: "FILTER_PARAMETER_BEHAVIOR_UNSPECIFIED" | "ALWAYS_INCLUDE" | "NEVER_INCLUDE";
modalityConfigs?: DataStoreToolModalityConfig[];
name?: string;
}

§Properties

§

Optional. Boost specification to boost certain documents.

§

Optional. Search within a single specific DataStore.

§
description?: string
[src]

Optional. The tool description.

§

Optional. Search within an Engine (potentially across multiple DataStores).

§
filterParameterBehavior?: "FILTER_PARAMETER_BEHAVIOR_UNSPECIFIED" | "ALWAYS_INCLUDE" | "NEVER_INCLUDE"
[src]

Optional. The filter parameter behavior.

§

Optional. The modality configs for the data store.

§
name?: string
[src]

Required. The data store tool name.