Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::CitedSnippet.
Snippet cited by the answer generation model.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#search_snippet
def search_snippet() -> ::Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::SearchSnippet
Returns
- (::Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::SearchSnippet) — Details of the snippet.
#search_snippet=
def search_snippet=(value) -> ::Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::SearchSnippet
Parameter
- value (::Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::SearchSnippet) — Details of the snippet.
Returns
- (::Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::SearchSnippet) — Details of the snippet.
#snippet_index
def snippet_index() -> ::Integer
Returns
-
(::Integer) — Index of the snippet in
search_snippets
field.
#snippet_index=
def snippet_index=(value) -> ::Integer
Parameter
-
value (::Integer) — Index of the snippet in
search_snippets
field.
Returns
-
(::Integer) — Index of the snippet in
search_snippets
field.