Show / Hide Table of Contents

Class GoogleSearchTool

Represents a tool to perform Google web searches for grounding. See https://cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool#google-search.

Inheritance
object
GoogleSearchTool
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CustomerEngagementSuite.v1beta.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class GoogleSearchTool : IDirectResponseSchema

Properties

ContextUrls

Optional. Content will be fetched directly from these URLs for context and grounding. Example: "https://example.com/path.html". A maximum of 20 URLs are allowed.

Declaration
[JsonProperty("contextUrls")]
public virtual IList<string> ContextUrls { get; set; }
Property Value
Type Description
IList<string>

Description

Optional. Description of the tool's purpose.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

ExcludeDomains

Optional. List of domains to be excluded from the search results. Example: "example.com". A maximum of 2000 domains can be excluded.

Declaration
[JsonProperty("excludeDomains")]
public virtual IList<string> ExcludeDomains { get; set; }
Property Value
Type Description
IList<string>

Name

Required. The name of the tool.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

PreferredDomains

Optional. Specifies domains to restrict search results to. Example: "example.com", "another.site". A maximum of 20 domains can be specified.

Declaration
[JsonProperty("preferredDomains")]
public virtual IList<string> PreferredDomains { get; set; }
Property Value
Type Description
IList<string>

PromptConfig

Optional. Prompt instructions passed to planner on how the search results should be processed for text and voice.

Declaration
[JsonProperty("promptConfig")]
public virtual GoogleSearchToolPromptConfig PromptConfig { get; set; }
Property Value
Type Description
GoogleSearchToolPromptConfig

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX