Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::GroundingMetadata.
Grounding metadata contains sources, citations, and search entry points used to ground a generated answer or suggestion.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#grounding_chunks
def grounding_chunks() -> ::Array<::Google::Cloud::Dialogflow::V2::GroundingChunk>
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::GroundingChunk>) — Optional. A list of supporting references retrieved from the grounding source.
#grounding_chunks=
def grounding_chunks=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::GroundingChunk>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::V2::GroundingChunk>) — Optional. A list of supporting references retrieved from the grounding source.
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::GroundingChunk>) — Optional. A list of supporting references retrieved from the grounding source.
#grounding_supports
def grounding_supports() -> ::Array<::Google::Cloud::Dialogflow::V2::GroundingSupport>
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::GroundingSupport>) — Optional. A list of grounding supports that connect the generated content to the grounding chunks.
#grounding_supports=
def grounding_supports=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::GroundingSupport>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::V2::GroundingSupport>) — Optional. A list of grounding supports that connect the generated content to the grounding chunks.
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::GroundingSupport>) — Optional. A list of grounding supports that connect the generated content to the grounding chunks.
#search_entry_point
def search_entry_point() -> ::Google::Cloud::Dialogflow::V2::SearchEntryPoint
Returns
- (::Google::Cloud::Dialogflow::V2::SearchEntryPoint) — Optional. A web search entry point that can be used to display search results.
#search_entry_point=
def search_entry_point=(value) -> ::Google::Cloud::Dialogflow::V2::SearchEntryPoint
Parameter
- value (::Google::Cloud::Dialogflow::V2::SearchEntryPoint) — Optional. A web search entry point that can be used to display search results.
Returns
- (::Google::Cloud::Dialogflow::V2::SearchEntryPoint) — Optional. A web search entry point that can be used to display search results.
#web_search_queries
def web_search_queries() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. The web search queries that were used to generate the content.
#web_search_queries=
def web_search_queries=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. The web search queries that were used to generate the content.
Returns
- (::Array<::String>) — Optional. The web search queries that were used to generate the content.