@@ -1007,12 +1007,16 @@ class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSe
10071007 # @return [String]
10081008 attr_accessor :document
10091009
1010- # List of document contexts.
1010+ # List of document contexts. The content will be used for Answer Generation.
1011+ # This is supposed to be the main content of the document that can be long and
1012+ # comprehensive.
10111013 # Corresponds to the JSON property `documentContexts`
10121014 # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext>]
10131015 attr_accessor :document_contexts
10141016
1015- # List of extractive answers.
1017+ # Deprecated: This field is deprecated and will have no effect on the Answer
1018+ # generation. Please use document_contexts and extractive_segments fields. List
1019+ # of extractive answers.
10161020 # Corresponds to the JSON property `extractiveAnswers`
10171021 # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer>]
10181022 attr_accessor :extractive_answers
@@ -1051,7 +1055,7 @@ def update!(**args)
10511055 class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext
10521056 include Google::Apis::Core::Hashable
10531057
1054- # Document content.
1058+ # Document content to be used for answer generation .
10551059 # Corresponds to the JSON property `content`
10561060 # @return [String]
10571061 attr_accessor :content
@@ -1099,7 +1103,8 @@ def update!(**args)
10991103 end
11001104
11011105 # Extractive segment. [Guide](https://cloud.google.com/generative-ai-app-builder/
1102- # docs/snippets#extractive-segments)
1106+ # docs/snippets#extractive-segments) Answer generation will only use it if
1107+ # document_contexts is empty. This is supposed to be shorter snippets.
11031108 class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment
11041109 include Google::Apis::Core::Hashable
11051110
0 commit comments