Table of Contents

Class GoogleSearchTool

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.

public class GoogleSearchTool
Inheritance
GoogleSearchTool
Inherited Members
Extension Methods

Properties

BlockingConfidence

Blocks search results from sites at or above this phishing confidence. Vertex AI only.

[JsonPropertyName("blockingConfidence")]
public PhishBlockThreshold? BlockingConfidence { get; set; }

Property Value

PhishBlockThreshold?

ExcludeDomains

Domains to exclude from search results. Vertex AI only.

[JsonPropertyName("excludeDomains")]
public List<string>? ExcludeDomains { get; set; }

Property Value

List<string>

SearchTypes

The kinds of search to use (web and/or image). Defaults to web search.

[JsonPropertyName("searchTypes")]
public SearchTypes? SearchTypes { get; set; }

Property Value

SearchTypes

TimeRangeFilter

Restricts results to pages published within this time range.

[JsonPropertyName("timeRangeFilter")]
public Interval? TimeRangeFilter { get; set; }

Property Value

Interval

See Also