Skip to content

Commit f07f71c

Browse files
Google APIscopybara-github
authored andcommitted
fix!: remove the summarization feature from v1 version
PiperOrigin-RevId: 538214109
1 parent 23145b0 commit f07f71c

1 file changed

Lines changed: 0 additions & 27 deletions

File tree

google/cloud/discoveryengine/v1/search_service.proto

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -122,24 +122,9 @@ message SearchRequest {
122122
bool reference_only = 2;
123123
}
124124

125-
// The specification that configs the summary in the search response.
126-
message SummarySpec {
127-
// The number of top results the summary should be generated from.
128-
// If the number of returned results is less than summary_result_count,
129-
// then the summary would be derived from all the results; otherwise, the
130-
// summary would be derived from the top results.
131-
//
132-
// At most 5 results can be used for generating summary.
133-
int32 summary_result_count = 1;
134-
}
135-
136125
// If there is no snippet spec provided, there will be no snippet in the
137126
// search result.
138127
SnippetSpec snippet_spec = 1;
139-
140-
// If there is no summary spec provided, there will be no summary in the
141-
// search response.
142-
SummarySpec summary_spec = 2;
143128
}
144129

145130
// Required. The resource name of the Search serving config, such as
@@ -275,12 +260,6 @@ message SearchResponse {
275260
Document document = 2;
276261
}
277262

278-
// Summary of the top N search result specified by the summary spec.
279-
message Summary {
280-
// The summary content.
281-
string summary_text = 1;
282-
}
283-
284263
// A list of matched documents. The order represents the ranking.
285264
repeated SearchResult results = 1;
286265

@@ -307,10 +286,4 @@ message SearchResponse {
307286
// is AUTOMATIC, then the search results are based on corrected_query.
308287
// Otherwise the original query is used for search.
309288
string corrected_query = 7;
310-
311-
// A summary as part of the search results.
312-
// This field is only returned if
313-
// [SearchRequest.ContentSearchSpec.summary_spec][google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.summary_spec]
314-
// is set.
315-
Summary summary = 9;
316289
}

0 commit comments

Comments
 (0)