Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::SearchKnowledgeResponse.
The response message for Conversations.SearchKnowledge.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#answers
def answers() -> ::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeAnswer>
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeAnswer>) — Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence.
#answers=
def answers=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeAnswer>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeAnswer>) — Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence.
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeAnswer>) — Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence.
#rewritten_query
def rewritten_query() -> ::String
Returns
- (::String) — The rewritten query used to search knowledge.
#rewritten_query=
def rewritten_query=(value) -> ::String
Parameter
- value (::String) — The rewritten query used to search knowledge.
Returns
- (::String) — The rewritten query used to search knowledge.