Skip to content

Commit ebfda8b

Browse files
feat: [discoveryengine] add site search engine service (#10149)
* feat: add site search engine service feat: add search tuning service feat: add engine support for conversational engine service feat: support search summarization with citations and references docs: keep the API doc up-to-date with recent changes PiperOrigin-RevId: 590625062 Source-Link: googleapis/googleapis@5e2f0b2 Source-Link: https://github.com/googleapis/googleapis-gen/commit/da4276898c106ad7ae8cc3aa55a8c45cf2708fc0 Copy-Tag: eyJwIjoiamF2YS1kaXNjb3ZlcnllbmdpbmUvLk93bEJvdC55YW1sIiwiaCI6ImRhNDI3Njg5OGMxMDZhZDdhZThjYzNhYTU1YThjNDVjZjI3MDhmYzAifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent bfc8e3c commit ebfda8b

File tree

184 files changed

+61720
-1081
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+61720
-1081
lines changed

java-discoveryengine/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
201201
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
202202
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
203203
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-discoveryengine.svg
204-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-discoveryengine/0.26.0
204+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-discoveryengine/0.28.0
205205
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
206206
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
207207
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/ConversationalSearchServiceClient.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ public final ConverseConversationResponse converseConversation(String name, Text
297297
* .setSafeSearch(true)
298298
* .putAllUserLabels(new HashMap<String, String>())
299299
* .setSummarySpec(SearchRequest.ContentSearchSpec.SummarySpec.newBuilder().build())
300+
* .setFilter("filter-1274492040")
300301
* .build();
301302
* ConverseConversationResponse response =
302303
* conversationalSearchServiceClient.converseConversation(request);
@@ -340,6 +341,7 @@ public final ConverseConversationResponse converseConversation(
340341
* .setSafeSearch(true)
341342
* .putAllUserLabels(new HashMap<String, String>())
342343
* .setSummarySpec(SearchRequest.ContentSearchSpec.SummarySpec.newBuilder().build())
344+
* .setFilter("filter-1274492040")
343345
* .build();
344346
* ApiFuture<ConverseConversationResponse> future =
345347
* conversationalSearchServiceClient.converseConversationCallable().futureCall(request);

java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/EngineServiceClient.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,8 @@ public final UnaryCallable<PauseEngineRequest, Engine> pauseEngineCallable() {
10301030

10311031
// AUTO-GENERATED DOCUMENTATION AND METHOD.
10321032
/**
1033-
* Resumes the training of an existing engine. Only applicable if [solution_type][] is
1033+
* Resumes the training of an existing engine. Only applicable if
1034+
* [SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is
10341035
* [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
10351036
*
10361037
* <p>Sample code:
@@ -1059,7 +1060,8 @@ public final Engine resumeEngine(EngineName name) {
10591060

10601061
// AUTO-GENERATED DOCUMENTATION AND METHOD.
10611062
/**
1062-
* Resumes the training of an existing engine. Only applicable if [solution_type][] is
1063+
* Resumes the training of an existing engine. Only applicable if
1064+
* [SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is
10631065
* [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
10641066
*
10651067
* <p>Sample code:
@@ -1087,7 +1089,8 @@ public final Engine resumeEngine(String name) {
10871089

10881090
// AUTO-GENERATED DOCUMENTATION AND METHOD.
10891091
/**
1090-
* Resumes the training of an existing engine. Only applicable if [solution_type][] is
1092+
* Resumes the training of an existing engine. Only applicable if
1093+
* [SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is
10911094
* [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
10921095
*
10931096
* <p>Sample code:
@@ -1117,7 +1120,8 @@ public final Engine resumeEngine(ResumeEngineRequest request) {
11171120

11181121
// AUTO-GENERATED DOCUMENTATION AND METHOD.
11191122
/**
1120-
* Resumes the training of an existing engine. Only applicable if [solution_type][] is
1123+
* Resumes the training of an existing engine. Only applicable if
1124+
* [SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is
11211125
* [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
11221126
*
11231127
* <p>Sample code:

java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/SearchServiceClient.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
* .setPageToken("pageToken873572522")
6464
* .setOffset(-1019779949)
6565
* .setFilter("filter-1274492040")
66+
* .setCanonicalFilter("canonicalFilter-722283124")
6667
* .setOrderBy("orderBy-1207110587")
6768
* .setUserInfo(UserInfo.newBuilder().build())
6869
* .addAllFacetSpecs(new ArrayList<SearchRequest.FacetSpec>())
@@ -233,6 +234,7 @@ public SearchServiceStub getStub() {
233234
* .setPageToken("pageToken873572522")
234235
* .setOffset(-1019779949)
235236
* .setFilter("filter-1274492040")
237+
* .setCanonicalFilter("canonicalFilter-722283124")
236238
* .setOrderBy("orderBy-1207110587")
237239
* .setUserInfo(UserInfo.newBuilder().build())
238240
* .addAllFacetSpecs(new ArrayList<SearchRequest.FacetSpec>())
@@ -289,6 +291,7 @@ public final SearchPagedResponse search(SearchRequest request) {
289291
* .setPageToken("pageToken873572522")
290292
* .setOffset(-1019779949)
291293
* .setFilter("filter-1274492040")
294+
* .setCanonicalFilter("canonicalFilter-722283124")
292295
* .setOrderBy("orderBy-1207110587")
293296
* .setUserInfo(UserInfo.newBuilder().build())
294297
* .addAllFacetSpecs(new ArrayList<SearchRequest.FacetSpec>())
@@ -345,6 +348,7 @@ public final UnaryCallable<SearchRequest, SearchPagedResponse> searchPagedCallab
345348
* .setPageToken("pageToken873572522")
346349
* .setOffset(-1019779949)
347350
* .setFilter("filter-1274492040")
351+
* .setCanonicalFilter("canonicalFilter-722283124")
348352
* .setOrderBy("orderBy-1207110587")
349353
* .setUserInfo(UserInfo.newBuilder().build())
350354
* .addAllFacetSpecs(new ArrayList<SearchRequest.FacetSpec>())

0 commit comments

Comments
 (0)