Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::GroundingChunk.
A piece of evidence that supports a claim made by the model.
This is used to show a citation for a claim made by the model. It contains a reference to the source of the information.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#retrieved_context
def retrieved_context() -> ::Google::Cloud::Dialogflow::V2::GroundingChunk::RetrievedContext-
(::Google::Cloud::Dialogflow::V2::GroundingChunk::RetrievedContext) — Optional. A grounding chunk from a data source retrieved by a
data store tool.
Note: The following fields are mutually exclusive:
retrieved_context,web. If a field in that set is populated, all other fields in the set will automatically be cleared.
#retrieved_context=
def retrieved_context=(value) -> ::Google::Cloud::Dialogflow::V2::GroundingChunk::RetrievedContext-
value (::Google::Cloud::Dialogflow::V2::GroundingChunk::RetrievedContext) — Optional. A grounding chunk from a data source retrieved by a
data store tool.
Note: The following fields are mutually exclusive:
retrieved_context,web. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::V2::GroundingChunk::RetrievedContext) — Optional. A grounding chunk from a data source retrieved by a
data store tool.
Note: The following fields are mutually exclusive:
retrieved_context,web. If a field in that set is populated, all other fields in the set will automatically be cleared.
#web
def web() -> ::Google::Cloud::Dialogflow::V2::GroundingChunk::Web-
(::Google::Cloud::Dialogflow::V2::GroundingChunk::Web) — Optional. A grounding chunk from a web page, typically from web
search. See the
Webmessage for details.Note: The following fields are mutually exclusive:
web,retrieved_context. If a field in that set is populated, all other fields in the set will automatically be cleared.
#web=
def web=(value) -> ::Google::Cloud::Dialogflow::V2::GroundingChunk::Web-
value (::Google::Cloud::Dialogflow::V2::GroundingChunk::Web) — Optional. A grounding chunk from a web page, typically from web
search. See the
Webmessage for details.Note: The following fields are mutually exclusive:
web,retrieved_context. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::V2::GroundingChunk::Web) — Optional. A grounding chunk from a web page, typically from web
search. See the
Webmessage for details.Note: The following fields are mutually exclusive:
web,retrieved_context. If a field in that set is populated, all other fields in the set will automatically be cleared.