@google-cloud/discoveryengine 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/assistant_service.proto +19 -0
- package/build/protos/protos.d.ts +406 -0
- package/build/protos/protos.js +1 -1
- package/build/protos/protos.json +64 -0
- package/build/src/v1/assistant_service_client.d.ts +2 -0
- package/build/src/v1/assistant_service_client.js +2 -0
- package/build/src/v1beta/assistant_service_client.d.ts +2 -0
- package/build/src/v1beta/assistant_service_client.js +2 -0
- package/package.json +1 -1
package/build/protos/protos.json
CHANGED
|
@@ -1064,6 +1064,13 @@
|
|
|
1064
1064
|
"(google.api.field_behavior)": "OPTIONAL"
|
|
1065
1065
|
}
|
|
1066
1066
|
},
|
|
1067
|
+
"agentsSpec": {
|
|
1068
|
+
"type": "AgentsSpec",
|
|
1069
|
+
"id": 22,
|
|
1070
|
+
"options": {
|
|
1071
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1067
1074
|
"toolsSpec": {
|
|
1068
1075
|
"type": "ToolsSpec",
|
|
1069
1076
|
"id": 18,
|
|
@@ -1080,6 +1087,31 @@
|
|
|
1080
1087
|
}
|
|
1081
1088
|
},
|
|
1082
1089
|
"nested": {
|
|
1090
|
+
"AgentsSpec": {
|
|
1091
|
+
"fields": {
|
|
1092
|
+
"agentSpecs": {
|
|
1093
|
+
"rule": "repeated",
|
|
1094
|
+
"type": "AgentSpec",
|
|
1095
|
+
"id": 1,
|
|
1096
|
+
"options": {
|
|
1097
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
},
|
|
1101
|
+
"nested": {
|
|
1102
|
+
"AgentSpec": {
|
|
1103
|
+
"fields": {
|
|
1104
|
+
"agentId": {
|
|
1105
|
+
"type": "string",
|
|
1106
|
+
"id": 1,
|
|
1107
|
+
"options": {
|
|
1108
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
},
|
|
1083
1115
|
"ToolsSpec": {
|
|
1084
1116
|
"fields": {
|
|
1085
1117
|
"vertexAiSearchSpec": {
|
|
@@ -27754,6 +27786,13 @@
|
|
|
27754
27786
|
"(google.api.field_behavior)": "OPTIONAL"
|
|
27755
27787
|
}
|
|
27756
27788
|
},
|
|
27789
|
+
"agentsSpec": {
|
|
27790
|
+
"type": "AgentsSpec",
|
|
27791
|
+
"id": 22,
|
|
27792
|
+
"options": {
|
|
27793
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
27794
|
+
}
|
|
27795
|
+
},
|
|
27757
27796
|
"toolsSpec": {
|
|
27758
27797
|
"type": "ToolsSpec",
|
|
27759
27798
|
"id": 18,
|
|
@@ -27770,6 +27809,31 @@
|
|
|
27770
27809
|
}
|
|
27771
27810
|
},
|
|
27772
27811
|
"nested": {
|
|
27812
|
+
"AgentsSpec": {
|
|
27813
|
+
"fields": {
|
|
27814
|
+
"agentSpecs": {
|
|
27815
|
+
"rule": "repeated",
|
|
27816
|
+
"type": "AgentSpec",
|
|
27817
|
+
"id": 1,
|
|
27818
|
+
"options": {
|
|
27819
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
27820
|
+
}
|
|
27821
|
+
}
|
|
27822
|
+
},
|
|
27823
|
+
"nested": {
|
|
27824
|
+
"AgentSpec": {
|
|
27825
|
+
"fields": {
|
|
27826
|
+
"agentId": {
|
|
27827
|
+
"type": "string",
|
|
27828
|
+
"id": 1,
|
|
27829
|
+
"options": {
|
|
27830
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
27831
|
+
}
|
|
27832
|
+
}
|
|
27833
|
+
}
|
|
27834
|
+
}
|
|
27835
|
+
}
|
|
27836
|
+
},
|
|
27773
27837
|
"ToolsSpec": {
|
|
27774
27838
|
"fields": {
|
|
27775
27839
|
"vertexAiSearchSpec": {
|
|
@@ -141,6 +141,8 @@ export declare class AssistantServiceClient {
|
|
|
141
141
|
* `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`
|
|
142
142
|
* @param {google.cloud.discoveryengine.v1.AssistUserMetadata} [request.userMetadata]
|
|
143
143
|
* Optional. Information about the user initiating the query.
|
|
144
|
+
* @param {google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec} [request.agentsSpec]
|
|
145
|
+
* Optional. Specification of agents that are used to serve the request.
|
|
144
146
|
* @param {google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec} [request.toolsSpec]
|
|
145
147
|
* Optional. Specification of tools that are used to serve the request.
|
|
146
148
|
* @param {google.cloud.discoveryengine.v1.StreamAssistRequest.GenerationSpec} [request.generationSpec]
|
|
@@ -362,6 +362,8 @@ class AssistantServiceClient {
|
|
|
362
362
|
* `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`
|
|
363
363
|
* @param {google.cloud.discoveryengine.v1.AssistUserMetadata} [request.userMetadata]
|
|
364
364
|
* Optional. Information about the user initiating the query.
|
|
365
|
+
* @param {google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec} [request.agentsSpec]
|
|
366
|
+
* Optional. Specification of agents that are used to serve the request.
|
|
365
367
|
* @param {google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec} [request.toolsSpec]
|
|
366
368
|
* Optional. Specification of tools that are used to serve the request.
|
|
367
369
|
* @param {google.cloud.discoveryengine.v1.StreamAssistRequest.GenerationSpec} [request.generationSpec]
|
|
@@ -274,6 +274,8 @@ export declare class AssistantServiceClient {
|
|
|
274
274
|
* `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`
|
|
275
275
|
* @param {google.cloud.discoveryengine.v1beta.AssistUserMetadata} [request.userMetadata]
|
|
276
276
|
* Optional. Information about the user initiating the query.
|
|
277
|
+
* @param {google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec} [request.agentsSpec]
|
|
278
|
+
* Optional. Specification of agents that are used to serve the request.
|
|
277
279
|
* @param {google.cloud.discoveryengine.v1beta.StreamAssistRequest.ToolsSpec} [request.toolsSpec]
|
|
278
280
|
* Optional. Specification of tools that are used to serve the request.
|
|
279
281
|
* @param {google.cloud.discoveryengine.v1beta.StreamAssistRequest.GenerationSpec} [request.generationSpec]
|
|
@@ -559,6 +559,8 @@ class AssistantServiceClient {
|
|
|
559
559
|
* `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`
|
|
560
560
|
* @param {google.cloud.discoveryengine.v1beta.AssistUserMetadata} [request.userMetadata]
|
|
561
561
|
* Optional. Information about the user initiating the query.
|
|
562
|
+
* @param {google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec} [request.agentsSpec]
|
|
563
|
+
* Optional. Specification of agents that are used to serve the request.
|
|
562
564
|
* @param {google.cloud.discoveryengine.v1beta.StreamAssistRequest.ToolsSpec} [request.toolsSpec]
|
|
563
565
|
* Optional. Specification of tools that are used to serve the request.
|
|
564
566
|
* @param {google.cloud.discoveryengine.v1beta.StreamAssistRequest.GenerationSpec} [request.generationSpec]
|