Class: Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer::SuggestedQuery::SearchContext
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer::SuggestedQuery::SearchContext
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/participant.rb
Overview
Search context is information useful for knowledge search that helps enrich the query. Example: search_context { key: "application name" value: "DesignApp" }
Instance Attribute Summary collapse
-
#key ⇒ ::String
Optional.
-
#value ⇒ ::String
Optional.
Instance Attribute Details
#key ⇒ ::String
Returns Optional. The key of the search context, e.g. "application name".
1553 1554 1555 1556 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 1553 class SearchContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#value ⇒ ::String
Returns Optional. The value of the search context, e.g. "DesignApp".
1553 1554 1555 1556 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 1553 class SearchContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |