@google-cloud/discoveryengine 2.9.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 +906 -1
- package/build/protos/protos.js +1 -1
- package/build/protos/protos.json +233 -8
- package/build/src/index.d.ts +3 -3
- package/build/src/index.js +4 -4
- 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 +7 -7
|
@@ -63,6 +63,22 @@ message AssistUserMetadata {
|
|
|
63
63
|
// [AssistantService.StreamAssist][google.cloud.discoveryengine.v1.AssistantService.StreamAssist]
|
|
64
64
|
// method.
|
|
65
65
|
message StreamAssistRequest {
|
|
66
|
+
// Specification of agents that are used to serve the request.
|
|
67
|
+
message AgentsSpec {
|
|
68
|
+
// Specification of an agent.
|
|
69
|
+
message AgentSpec {
|
|
70
|
+
// Required. ID to identify the agent resource serving the request.
|
|
71
|
+
//
|
|
72
|
+
// This field must conform to
|
|
73
|
+
// [RFC-1034](https://tools.ietf.org/html/rfc1034)
|
|
74
|
+
// with a length limit of 63 characters.
|
|
75
|
+
string agent_id = 1 [(google.api.field_behavior) = REQUIRED];
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// Optional. Specification of agents that are used to serve the request.
|
|
79
|
+
repeated AgentSpec agent_specs = 1 [(google.api.field_behavior) = OPTIONAL];
|
|
80
|
+
}
|
|
81
|
+
|
|
66
82
|
// Specification of tools that are used to serve the request.
|
|
67
83
|
message ToolsSpec {
|
|
68
84
|
// Specification of the Vertex AI Search tool.
|
|
@@ -167,6 +183,9 @@ message StreamAssistRequest {
|
|
|
167
183
|
// Optional. Information about the user initiating the query.
|
|
168
184
|
AssistUserMetadata user_metadata = 6 [(google.api.field_behavior) = OPTIONAL];
|
|
169
185
|
|
|
186
|
+
// Optional. Specification of agents that are used to serve the request.
|
|
187
|
+
AgentsSpec agents_spec = 22 [(google.api.field_behavior) = OPTIONAL];
|
|
188
|
+
|
|
170
189
|
// Optional. Specification of tools that are used to serve the request.
|
|
171
190
|
ToolsSpec tools_spec = 18 [(google.api.field_behavior) = OPTIONAL];
|
|
172
191
|
|
|
@@ -111,6 +111,22 @@ message AssistUserMetadata {
|
|
|
111
111
|
// [AssistantService.StreamAssist][google.cloud.discoveryengine.v1beta.AssistantService.StreamAssist]
|
|
112
112
|
// method.
|
|
113
113
|
message StreamAssistRequest {
|
|
114
|
+
// Specification of agents that are used to serve the request.
|
|
115
|
+
message AgentsSpec {
|
|
116
|
+
// Specification of an agent.
|
|
117
|
+
message AgentSpec {
|
|
118
|
+
// Required. ID to identify the agent resource serving the request.
|
|
119
|
+
//
|
|
120
|
+
// This field must conform to
|
|
121
|
+
// [RFC-1034](https://tools.ietf.org/html/rfc1034)
|
|
122
|
+
// with a length limit of 63 characters.
|
|
123
|
+
string agent_id = 1 [(google.api.field_behavior) = REQUIRED];
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// Optional. Specification of agents that are used to serve the request.
|
|
127
|
+
repeated AgentSpec agent_specs = 1 [(google.api.field_behavior) = OPTIONAL];
|
|
128
|
+
}
|
|
129
|
+
|
|
114
130
|
// Specification of tools that are used to serve the request.
|
|
115
131
|
message ToolsSpec {
|
|
116
132
|
// Specification of the Vertex AI Search tool.
|
|
@@ -218,6 +234,9 @@ message StreamAssistRequest {
|
|
|
218
234
|
// Optional. Information about the user initiating the query.
|
|
219
235
|
AssistUserMetadata user_metadata = 6 [(google.api.field_behavior) = OPTIONAL];
|
|
220
236
|
|
|
237
|
+
// Optional. Specification of agents that are used to serve the request.
|
|
238
|
+
AgentsSpec agents_spec = 22 [(google.api.field_behavior) = OPTIONAL];
|
|
239
|
+
|
|
221
240
|
// Optional. Specification of tools that are used to serve the request.
|
|
222
241
|
ToolsSpec tools_spec = 18 [(google.api.field_behavior) = OPTIONAL];
|
|
223
242
|
|