Google Cloud Discovery Engine V1 Client - Class AssistantGroundedContent (1.7.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class AssistantGroundedContent.

A piece of content and possibly its grounding information.

Not all content needs grounding. Phrases like "Of course, I will gladly search it for you." do not need grounding.

Generated from protobuf message google.cloud.discoveryengine.v1.AssistantGroundedContent

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ text_grounding_metadata
AssistantGroundedContent\TextGroundingMetadata

Metadata for grounding based on text sources.

↳ content
AssistantContent

The content.

Metadata for grounding based on text sources.

Returns
Type
Description

Metadata for grounding based on text sources.

Parameter
Name
Description
Returns
Type
Description
$this

getContent

The content.

Returns
Type
Description

hasContent

clearContent

setContent

The content.

Parameter
Name
Description
Returns
Type
Description
$this
Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: