@liquidmetal-ai/drizzle 0.1.3 → 0.2.2
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/.changeset/breezy-lamps-fry.md +6 -0
- package/.turbo/turbo-lint.log +6 -0
- package/.turbo/turbo-test.log +6 -0
- package/dist/appify/build.d.ts +32 -2
- package/dist/appify/build.d.ts.map +1 -1
- package/dist/appify/build.js +166 -24
- package/dist/appify/build.test.js +75 -3
- package/dist/appify/validate.d.ts +2 -1
- package/dist/appify/validate.d.ts.map +1 -1
- package/dist/appify/validate.js +71 -2
- package/dist/appify/validate.test.js +74 -4
- package/dist/codestore.js +2 -2
- package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts +81 -78
- package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/catalog_connect.js +81 -78
- package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts +572 -610
- package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/catalog_pb.js +675 -741
- package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts +68 -0
- package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts.map +1 -0
- package/dist/liquidmetal/v1alpha1/resource_interface_connect.js +73 -0
- package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts +283 -0
- package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts.map +1 -0
- package/dist/liquidmetal/v1alpha1/resource_interface_pb.js +454 -0
- package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts +170 -0
- package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts.map +1 -0
- package/dist/liquidmetal/v1alpha1/search_agent_connect.js +173 -0
- package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts +505 -0
- package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts.map +1 -0
- package/dist/liquidmetal/v1alpha1/search_agent_pb.js +715 -0
- package/package.json +1 -1
- package/src/appify/build.test.ts +85 -3
- package/src/appify/build.ts +181 -25
- package/src/appify/validate.test.ts +77 -4
- package/src/appify/validate.ts +78 -1
- package/src/codestore.ts +2 -2
- package/src/liquidmetal/v1alpha1/catalog_connect.ts +81 -78
- package/src/liquidmetal/v1alpha1/catalog_pb.ts +872 -970
- package/src/liquidmetal/v1alpha1/resource_interface_connect.ts +77 -0
- package/src/liquidmetal/v1alpha1/resource_interface_pb.ts +561 -0
- package/src/liquidmetal/v1alpha1/search_agent_connect.ts +176 -0
- package/src/liquidmetal/v1alpha1/search_agent_pb.ts +842 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/.turbo/turbo-build.log +0 -30
|
@@ -0,0 +1,715 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file liquidmetal/v1alpha1/search_agent.proto (package liquidmetal.v1alpha1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* DocumentChatRequest initiates or continues a conversation about a specific document.
|
|
8
|
+
* The system maintains conversation context for natural, flowing dialogue about
|
|
9
|
+
* document content.
|
|
10
|
+
*
|
|
11
|
+
* @generated from message liquidmetal.v1alpha1.DocumentChatRequest
|
|
12
|
+
*/
|
|
13
|
+
export class DocumentChatRequest extends Message {
|
|
14
|
+
/**
|
|
15
|
+
* The storage bucket containing the target document
|
|
16
|
+
* Must be a valid, registered Smart Bucket
|
|
17
|
+
*
|
|
18
|
+
* @generated from field: string bucket = 1;
|
|
19
|
+
*/
|
|
20
|
+
bucket = "";
|
|
21
|
+
/**
|
|
22
|
+
* Document identifier within the bucket
|
|
23
|
+
* Typically matches the storage path or key
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: string object_id = 2;
|
|
26
|
+
*/
|
|
27
|
+
objectId = "";
|
|
28
|
+
/**
|
|
29
|
+
* User's input or question about the document
|
|
30
|
+
* Can be natural language questions, commands, or requests
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: string input = 3;
|
|
33
|
+
*/
|
|
34
|
+
input = "";
|
|
35
|
+
/**
|
|
36
|
+
* Conversation session identifier
|
|
37
|
+
* Use the same ID for follow-up questions to maintain context
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: string request_id = 4;
|
|
40
|
+
*/
|
|
41
|
+
requestId = "";
|
|
42
|
+
constructor(data) {
|
|
43
|
+
super();
|
|
44
|
+
proto3.util.initPartial(data, this);
|
|
45
|
+
}
|
|
46
|
+
static runtime = proto3;
|
|
47
|
+
static typeName = "liquidmetal.v1alpha1.DocumentChatRequest";
|
|
48
|
+
static fields = proto3.util.newFieldList(() => [
|
|
49
|
+
{ no: 1, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
50
|
+
{ no: 2, name: "object_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
51
|
+
{ no: 3, name: "input", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
52
|
+
{ no: 4, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
53
|
+
]);
|
|
54
|
+
static fromBinary(bytes, options) {
|
|
55
|
+
return new DocumentChatRequest().fromBinary(bytes, options);
|
|
56
|
+
}
|
|
57
|
+
static fromJson(jsonValue, options) {
|
|
58
|
+
return new DocumentChatRequest().fromJson(jsonValue, options);
|
|
59
|
+
}
|
|
60
|
+
static fromJsonString(jsonString, options) {
|
|
61
|
+
return new DocumentChatRequest().fromJsonString(jsonString, options);
|
|
62
|
+
}
|
|
63
|
+
static equals(a, b) {
|
|
64
|
+
return proto3.util.equals(DocumentChatRequest, a, b);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* DocumentChatResponse contains the AI's response based on document content
|
|
69
|
+
* and conversation context. Responses are generated considering both the
|
|
70
|
+
* current question and previous conversation history.
|
|
71
|
+
*
|
|
72
|
+
* @generated from message liquidmetal.v1alpha1.DocumentChatResponse
|
|
73
|
+
*/
|
|
74
|
+
export class DocumentChatResponse extends Message {
|
|
75
|
+
/**
|
|
76
|
+
* AI-generated response that may include:
|
|
77
|
+
* - Direct document quotes
|
|
78
|
+
* - Content summaries
|
|
79
|
+
* - Contextual explanations
|
|
80
|
+
* - References to specific sections
|
|
81
|
+
* - Related content suggestions
|
|
82
|
+
*
|
|
83
|
+
* @generated from field: string answer = 1;
|
|
84
|
+
*/
|
|
85
|
+
answer = "";
|
|
86
|
+
constructor(data) {
|
|
87
|
+
super();
|
|
88
|
+
proto3.util.initPartial(data, this);
|
|
89
|
+
}
|
|
90
|
+
static runtime = proto3;
|
|
91
|
+
static typeName = "liquidmetal.v1alpha1.DocumentChatResponse";
|
|
92
|
+
static fields = proto3.util.newFieldList(() => [
|
|
93
|
+
{ no: 1, name: "answer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
94
|
+
]);
|
|
95
|
+
static fromBinary(bytes, options) {
|
|
96
|
+
return new DocumentChatResponse().fromBinary(bytes, options);
|
|
97
|
+
}
|
|
98
|
+
static fromJson(jsonValue, options) {
|
|
99
|
+
return new DocumentChatResponse().fromJson(jsonValue, options);
|
|
100
|
+
}
|
|
101
|
+
static fromJsonString(jsonString, options) {
|
|
102
|
+
return new DocumentChatResponse().fromJsonString(jsonString, options);
|
|
103
|
+
}
|
|
104
|
+
static equals(a, b) {
|
|
105
|
+
return proto3.util.equals(DocumentChatResponse, a, b);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* RagSearchRequest enables semantic search across document collections using
|
|
110
|
+
* natural language queries. The system automatically optimizes the search
|
|
111
|
+
* strategy based on the query content.
|
|
112
|
+
*
|
|
113
|
+
* @generated from message liquidmetal.v1alpha1.RagSearchRequest
|
|
114
|
+
*/
|
|
115
|
+
export class RagSearchRequest extends Message {
|
|
116
|
+
/**
|
|
117
|
+
* Natural language query or question
|
|
118
|
+
* Can include complex criteria and relationships
|
|
119
|
+
*
|
|
120
|
+
* @generated from field: string input = 1;
|
|
121
|
+
*/
|
|
122
|
+
input = "";
|
|
123
|
+
/**
|
|
124
|
+
* Search session identifier for result tracking
|
|
125
|
+
* Used for pagination and result caching
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: string request_id = 2;
|
|
128
|
+
*/
|
|
129
|
+
requestId = "";
|
|
130
|
+
/**
|
|
131
|
+
* Bucket IDs to search
|
|
132
|
+
* If provided, the search will only return results from these buckets
|
|
133
|
+
*
|
|
134
|
+
* @generated from field: repeated string bucket_ids = 3;
|
|
135
|
+
*/
|
|
136
|
+
bucketIds = [];
|
|
137
|
+
constructor(data) {
|
|
138
|
+
super();
|
|
139
|
+
proto3.util.initPartial(data, this);
|
|
140
|
+
}
|
|
141
|
+
static runtime = proto3;
|
|
142
|
+
static typeName = "liquidmetal.v1alpha1.RagSearchRequest";
|
|
143
|
+
static fields = proto3.util.newFieldList(() => [
|
|
144
|
+
{ no: 1, name: "input", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
145
|
+
{ no: 2, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
146
|
+
{ no: 3, name: "bucket_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
147
|
+
]);
|
|
148
|
+
static fromBinary(bytes, options) {
|
|
149
|
+
return new RagSearchRequest().fromBinary(bytes, options);
|
|
150
|
+
}
|
|
151
|
+
static fromJson(jsonValue, options) {
|
|
152
|
+
return new RagSearchRequest().fromJson(jsonValue, options);
|
|
153
|
+
}
|
|
154
|
+
static fromJsonString(jsonString, options) {
|
|
155
|
+
return new RagSearchRequest().fromJsonString(jsonString, options);
|
|
156
|
+
}
|
|
157
|
+
static equals(a, b) {
|
|
158
|
+
return proto3.util.equals(RagSearchRequest, a, b);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* RagSearchResponse provides semantically relevant results with metadata
|
|
163
|
+
* and relevance scoring. Results are automatically filtered for PII
|
|
164
|
+
* and ranked by relevance.
|
|
165
|
+
*
|
|
166
|
+
* @generated from message liquidmetal.v1alpha1.RagSearchResponse
|
|
167
|
+
*/
|
|
168
|
+
export class RagSearchResponse extends Message {
|
|
169
|
+
/**
|
|
170
|
+
* Ordered list of relevant text segments
|
|
171
|
+
* Each result includes full context and metadata
|
|
172
|
+
*
|
|
173
|
+
* @generated from field: repeated liquidmetal.v1alpha1.TextResult results = 1;
|
|
174
|
+
*/
|
|
175
|
+
results = [];
|
|
176
|
+
constructor(data) {
|
|
177
|
+
super();
|
|
178
|
+
proto3.util.initPartial(data, this);
|
|
179
|
+
}
|
|
180
|
+
static runtime = proto3;
|
|
181
|
+
static typeName = "liquidmetal.v1alpha1.RagSearchResponse";
|
|
182
|
+
static fields = proto3.util.newFieldList(() => [
|
|
183
|
+
{ no: 1, name: "results", kind: "message", T: TextResult, repeated: true },
|
|
184
|
+
]);
|
|
185
|
+
static fromBinary(bytes, options) {
|
|
186
|
+
return new RagSearchResponse().fromBinary(bytes, options);
|
|
187
|
+
}
|
|
188
|
+
static fromJson(jsonValue, options) {
|
|
189
|
+
return new RagSearchResponse().fromJson(jsonValue, options);
|
|
190
|
+
}
|
|
191
|
+
static fromJsonString(jsonString, options) {
|
|
192
|
+
return new RagSearchResponse().fromJsonString(jsonString, options);
|
|
193
|
+
}
|
|
194
|
+
static equals(a, b) {
|
|
195
|
+
return proto3.util.equals(RagSearchResponse, a, b);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* TextResult represents a single search result with comprehensive metadata
|
|
200
|
+
* and relevance information. This structure provides all necessary context
|
|
201
|
+
* for understanding and displaying the result.
|
|
202
|
+
*
|
|
203
|
+
* @generated from message liquidmetal.v1alpha1.TextResult
|
|
204
|
+
*/
|
|
205
|
+
export class TextResult extends Message {
|
|
206
|
+
/**
|
|
207
|
+
* Unique identifier for this text segment
|
|
208
|
+
* Used for deduplication and result tracking
|
|
209
|
+
*
|
|
210
|
+
* @generated from field: optional string chunk_signature = 1;
|
|
211
|
+
*/
|
|
212
|
+
chunkSignature;
|
|
213
|
+
/**
|
|
214
|
+
* The actual content of the result
|
|
215
|
+
* May be a document excerpt or full content
|
|
216
|
+
*
|
|
217
|
+
* @generated from field: optional string text = 2;
|
|
218
|
+
*/
|
|
219
|
+
text;
|
|
220
|
+
/**
|
|
221
|
+
* Source document information in JSON format
|
|
222
|
+
* Includes bucket, path, type, and metadata
|
|
223
|
+
*
|
|
224
|
+
* @generated from field: optional string source = 3;
|
|
225
|
+
*/
|
|
226
|
+
source;
|
|
227
|
+
/**
|
|
228
|
+
* Parent document identifier
|
|
229
|
+
* Links related content chunks together
|
|
230
|
+
*
|
|
231
|
+
* @generated from field: optional string payload_signature = 4;
|
|
232
|
+
*/
|
|
233
|
+
payloadSignature;
|
|
234
|
+
/**
|
|
235
|
+
* Relevance score (0.0 to 1.0)
|
|
236
|
+
* Higher scores indicate better matches
|
|
237
|
+
*
|
|
238
|
+
* @generated from field: optional double score = 5;
|
|
239
|
+
*/
|
|
240
|
+
score;
|
|
241
|
+
/**
|
|
242
|
+
* Vector representation for similarity matching
|
|
243
|
+
* Used in semantic search operations
|
|
244
|
+
*
|
|
245
|
+
* @generated from field: optional string embed = 6;
|
|
246
|
+
*/
|
|
247
|
+
embed;
|
|
248
|
+
/**
|
|
249
|
+
* Content MIME type
|
|
250
|
+
* Helps with proper result rendering
|
|
251
|
+
*
|
|
252
|
+
* @generated from field: optional string type = 7;
|
|
253
|
+
*/
|
|
254
|
+
type;
|
|
255
|
+
constructor(data) {
|
|
256
|
+
super();
|
|
257
|
+
proto3.util.initPartial(data, this);
|
|
258
|
+
}
|
|
259
|
+
static runtime = proto3;
|
|
260
|
+
static typeName = "liquidmetal.v1alpha1.TextResult";
|
|
261
|
+
static fields = proto3.util.newFieldList(() => [
|
|
262
|
+
{ no: 1, name: "chunk_signature", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
263
|
+
{ no: 2, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
264
|
+
{ no: 3, name: "source", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
265
|
+
{ no: 4, name: "payload_signature", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
266
|
+
{ no: 5, name: "score", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
267
|
+
{ no: 6, name: "embed", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
268
|
+
{ no: 7, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
269
|
+
]);
|
|
270
|
+
static fromBinary(bytes, options) {
|
|
271
|
+
return new TextResult().fromBinary(bytes, options);
|
|
272
|
+
}
|
|
273
|
+
static fromJson(jsonValue, options) {
|
|
274
|
+
return new TextResult().fromJson(jsonValue, options);
|
|
275
|
+
}
|
|
276
|
+
static fromJsonString(jsonString, options) {
|
|
277
|
+
return new TextResult().fromJsonString(jsonString, options);
|
|
278
|
+
}
|
|
279
|
+
static equals(a, b) {
|
|
280
|
+
return proto3.util.equals(TextResult, a, b);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* PaginationInfo provides detailed pagination metadata for implementing
|
|
285
|
+
* UI controls and managing result navigation. Supports both traditional
|
|
286
|
+
* pagination and infinite scroll patterns.
|
|
287
|
+
*
|
|
288
|
+
* @generated from message liquidmetal.v1alpha1.PaginationInfo
|
|
289
|
+
*/
|
|
290
|
+
export class PaginationInfo extends Message {
|
|
291
|
+
/**
|
|
292
|
+
* Total number of available results
|
|
293
|
+
*
|
|
294
|
+
* @generated from field: int32 total = 1;
|
|
295
|
+
*/
|
|
296
|
+
total = 0;
|
|
297
|
+
/**
|
|
298
|
+
* Current page number (1-based)
|
|
299
|
+
*
|
|
300
|
+
* @generated from field: int32 page = 2;
|
|
301
|
+
*/
|
|
302
|
+
page = 0;
|
|
303
|
+
/**
|
|
304
|
+
* Results per page
|
|
305
|
+
* May be adjusted for performance
|
|
306
|
+
*
|
|
307
|
+
* @generated from field: int32 page_size = 3;
|
|
308
|
+
*/
|
|
309
|
+
pageSize = 0;
|
|
310
|
+
/**
|
|
311
|
+
* Total available pages
|
|
312
|
+
* Calculated as ceil(total/page_size)
|
|
313
|
+
*
|
|
314
|
+
* @generated from field: int32 total_pages = 4;
|
|
315
|
+
*/
|
|
316
|
+
totalPages = 0;
|
|
317
|
+
/**
|
|
318
|
+
* Indicates more results available
|
|
319
|
+
* Used for infinite scroll implementation
|
|
320
|
+
*
|
|
321
|
+
* @generated from field: bool has_more = 5;
|
|
322
|
+
*/
|
|
323
|
+
hasMore = false;
|
|
324
|
+
constructor(data) {
|
|
325
|
+
super();
|
|
326
|
+
proto3.util.initPartial(data, this);
|
|
327
|
+
}
|
|
328
|
+
static runtime = proto3;
|
|
329
|
+
static typeName = "liquidmetal.v1alpha1.PaginationInfo";
|
|
330
|
+
static fields = proto3.util.newFieldList(() => [
|
|
331
|
+
{ no: 1, name: "total", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
332
|
+
{ no: 2, name: "page", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
333
|
+
{ no: 3, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
334
|
+
{ no: 4, name: "total_pages", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
335
|
+
{ no: 5, name: "has_more", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
336
|
+
]);
|
|
337
|
+
static fromBinary(bytes, options) {
|
|
338
|
+
return new PaginationInfo().fromBinary(bytes, options);
|
|
339
|
+
}
|
|
340
|
+
static fromJson(jsonValue, options) {
|
|
341
|
+
return new PaginationInfo().fromJson(jsonValue, options);
|
|
342
|
+
}
|
|
343
|
+
static fromJsonString(jsonString, options) {
|
|
344
|
+
return new PaginationInfo().fromJsonString(jsonString, options);
|
|
345
|
+
}
|
|
346
|
+
static equals(a, b) {
|
|
347
|
+
return proto3.util.equals(PaginationInfo, a, b);
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* CreatePageSummaryRequest requests an AI-generated summary of search results
|
|
352
|
+
* for a specific page. Helps users quickly understand large result sets.
|
|
353
|
+
*
|
|
354
|
+
* @generated from message liquidmetal.v1alpha1.CreatePageSummaryRequest
|
|
355
|
+
*/
|
|
356
|
+
export class CreatePageSummaryRequest extends Message {
|
|
357
|
+
/**
|
|
358
|
+
* Target page number (1-based)
|
|
359
|
+
*
|
|
360
|
+
* @generated from field: int32 page = 1;
|
|
361
|
+
*/
|
|
362
|
+
page = 0;
|
|
363
|
+
/**
|
|
364
|
+
* Results per page
|
|
365
|
+
* Affects summary granularity
|
|
366
|
+
*
|
|
367
|
+
* @generated from field: int32 page_size = 2;
|
|
368
|
+
*/
|
|
369
|
+
pageSize = 0;
|
|
370
|
+
/**
|
|
371
|
+
* Original search session identifier
|
|
372
|
+
*
|
|
373
|
+
* @generated from field: string request_id = 3;
|
|
374
|
+
*/
|
|
375
|
+
requestId = "";
|
|
376
|
+
constructor(data) {
|
|
377
|
+
super();
|
|
378
|
+
proto3.util.initPartial(data, this);
|
|
379
|
+
}
|
|
380
|
+
static runtime = proto3;
|
|
381
|
+
static typeName = "liquidmetal.v1alpha1.CreatePageSummaryRequest";
|
|
382
|
+
static fields = proto3.util.newFieldList(() => [
|
|
383
|
+
{ no: 1, name: "page", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
384
|
+
{ no: 2, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
385
|
+
{ no: 3, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
386
|
+
]);
|
|
387
|
+
static fromBinary(bytes, options) {
|
|
388
|
+
return new CreatePageSummaryRequest().fromBinary(bytes, options);
|
|
389
|
+
}
|
|
390
|
+
static fromJson(jsonValue, options) {
|
|
391
|
+
return new CreatePageSummaryRequest().fromJson(jsonValue, options);
|
|
392
|
+
}
|
|
393
|
+
static fromJsonString(jsonString, options) {
|
|
394
|
+
return new CreatePageSummaryRequest().fromJsonString(jsonString, options);
|
|
395
|
+
}
|
|
396
|
+
static equals(a, b) {
|
|
397
|
+
return proto3.util.equals(CreatePageSummaryRequest, a, b);
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* CreatePageSummaryResponse provides an AI-generated overview of the
|
|
402
|
+
* search results page, highlighting key themes and patterns.
|
|
403
|
+
*
|
|
404
|
+
* @generated from message liquidmetal.v1alpha1.CreatePageSummaryResponse
|
|
405
|
+
*/
|
|
406
|
+
export class CreatePageSummaryResponse extends Message {
|
|
407
|
+
/**
|
|
408
|
+
* AI-generated summary including:
|
|
409
|
+
* - Key themes and topics
|
|
410
|
+
* - Content type distribution
|
|
411
|
+
* - Important findings
|
|
412
|
+
* - Document relationships
|
|
413
|
+
*
|
|
414
|
+
* @generated from field: string summary = 1;
|
|
415
|
+
*/
|
|
416
|
+
summary = "";
|
|
417
|
+
constructor(data) {
|
|
418
|
+
super();
|
|
419
|
+
proto3.util.initPartial(data, this);
|
|
420
|
+
}
|
|
421
|
+
static runtime = proto3;
|
|
422
|
+
static typeName = "liquidmetal.v1alpha1.CreatePageSummaryResponse";
|
|
423
|
+
static fields = proto3.util.newFieldList(() => [
|
|
424
|
+
{ no: 1, name: "summary", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
425
|
+
]);
|
|
426
|
+
static fromBinary(bytes, options) {
|
|
427
|
+
return new CreatePageSummaryResponse().fromBinary(bytes, options);
|
|
428
|
+
}
|
|
429
|
+
static fromJson(jsonValue, options) {
|
|
430
|
+
return new CreatePageSummaryResponse().fromJson(jsonValue, options);
|
|
431
|
+
}
|
|
432
|
+
static fromJsonString(jsonString, options) {
|
|
433
|
+
return new CreatePageSummaryResponse().fromJsonString(jsonString, options);
|
|
434
|
+
}
|
|
435
|
+
static equals(a, b) {
|
|
436
|
+
return proto3.util.equals(CreatePageSummaryResponse, a, b);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* RunSupervisorAgentRequest initiates a new semantic search operation
|
|
441
|
+
* using natural language queries. The supervisor coordinates multiple
|
|
442
|
+
* search strategies for comprehensive results.
|
|
443
|
+
*
|
|
444
|
+
* @generated from message liquidmetal.v1alpha1.RunSupervisorAgentRequest
|
|
445
|
+
*/
|
|
446
|
+
export class RunSupervisorAgentRequest extends Message {
|
|
447
|
+
/**
|
|
448
|
+
* Natural language search query
|
|
449
|
+
* Can include complex criteria
|
|
450
|
+
*
|
|
451
|
+
* @generated from field: string input = 1;
|
|
452
|
+
*/
|
|
453
|
+
input = "";
|
|
454
|
+
/**
|
|
455
|
+
* Search session identifier
|
|
456
|
+
* Used for result tracking
|
|
457
|
+
*
|
|
458
|
+
* @generated from field: string request_id = 2;
|
|
459
|
+
*/
|
|
460
|
+
requestId = "";
|
|
461
|
+
/**
|
|
462
|
+
* Bucket IDs to search
|
|
463
|
+
* If provided, the search will only return results from these buckets
|
|
464
|
+
*
|
|
465
|
+
* @generated from field: repeated string bucket_ids = 3;
|
|
466
|
+
*/
|
|
467
|
+
bucketIds = [];
|
|
468
|
+
constructor(data) {
|
|
469
|
+
super();
|
|
470
|
+
proto3.util.initPartial(data, this);
|
|
471
|
+
}
|
|
472
|
+
static runtime = proto3;
|
|
473
|
+
static typeName = "liquidmetal.v1alpha1.RunSupervisorAgentRequest";
|
|
474
|
+
static fields = proto3.util.newFieldList(() => [
|
|
475
|
+
{ no: 1, name: "input", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
476
|
+
{ no: 2, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
477
|
+
{ no: 3, name: "bucket_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
478
|
+
]);
|
|
479
|
+
static fromBinary(bytes, options) {
|
|
480
|
+
return new RunSupervisorAgentRequest().fromBinary(bytes, options);
|
|
481
|
+
}
|
|
482
|
+
static fromJson(jsonValue, options) {
|
|
483
|
+
return new RunSupervisorAgentRequest().fromJson(jsonValue, options);
|
|
484
|
+
}
|
|
485
|
+
static fromJsonString(jsonString, options) {
|
|
486
|
+
return new RunSupervisorAgentRequest().fromJsonString(jsonString, options);
|
|
487
|
+
}
|
|
488
|
+
static equals(a, b) {
|
|
489
|
+
return proto3.util.equals(RunSupervisorAgentRequest, a, b);
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
* RunSupervisorAgentResponse provides the initial set of search results
|
|
494
|
+
* along with pagination information for result navigation.
|
|
495
|
+
*
|
|
496
|
+
* @generated from message liquidmetal.v1alpha1.RunSupervisorAgentResponse
|
|
497
|
+
*/
|
|
498
|
+
export class RunSupervisorAgentResponse extends Message {
|
|
499
|
+
/**
|
|
500
|
+
* Matched results with metadata
|
|
501
|
+
*
|
|
502
|
+
* @generated from field: repeated liquidmetal.v1alpha1.TextResult results = 1;
|
|
503
|
+
*/
|
|
504
|
+
results = [];
|
|
505
|
+
/**
|
|
506
|
+
* Pagination details for result navigation
|
|
507
|
+
*
|
|
508
|
+
* @generated from field: liquidmetal.v1alpha1.PaginationInfo pagination = 2;
|
|
509
|
+
*/
|
|
510
|
+
pagination;
|
|
511
|
+
constructor(data) {
|
|
512
|
+
super();
|
|
513
|
+
proto3.util.initPartial(data, this);
|
|
514
|
+
}
|
|
515
|
+
static runtime = proto3;
|
|
516
|
+
static typeName = "liquidmetal.v1alpha1.RunSupervisorAgentResponse";
|
|
517
|
+
static fields = proto3.util.newFieldList(() => [
|
|
518
|
+
{ no: 1, name: "results", kind: "message", T: TextResult, repeated: true },
|
|
519
|
+
{ no: 2, name: "pagination", kind: "message", T: PaginationInfo },
|
|
520
|
+
]);
|
|
521
|
+
static fromBinary(bytes, options) {
|
|
522
|
+
return new RunSupervisorAgentResponse().fromBinary(bytes, options);
|
|
523
|
+
}
|
|
524
|
+
static fromJson(jsonValue, options) {
|
|
525
|
+
return new RunSupervisorAgentResponse().fromJson(jsonValue, options);
|
|
526
|
+
}
|
|
527
|
+
static fromJsonString(jsonString, options) {
|
|
528
|
+
return new RunSupervisorAgentResponse().fromJsonString(jsonString, options);
|
|
529
|
+
}
|
|
530
|
+
static equals(a, b) {
|
|
531
|
+
return proto3.util.equals(RunSupervisorAgentResponse, a, b);
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
/**
|
|
535
|
+
* GetPaginatedResultsRequest retrieves additional pages from a previous
|
|
536
|
+
* search operation. Maintains result consistency across pages.
|
|
537
|
+
*
|
|
538
|
+
* @generated from message liquidmetal.v1alpha1.GetPaginatedResultsRequest
|
|
539
|
+
*/
|
|
540
|
+
export class GetPaginatedResultsRequest extends Message {
|
|
541
|
+
/**
|
|
542
|
+
* Original search session identifier
|
|
543
|
+
*
|
|
544
|
+
* @generated from field: string request_id = 1;
|
|
545
|
+
*/
|
|
546
|
+
requestId = "";
|
|
547
|
+
/**
|
|
548
|
+
* Requested page number
|
|
549
|
+
*
|
|
550
|
+
* @generated from field: optional int32 page = 2;
|
|
551
|
+
*/
|
|
552
|
+
page;
|
|
553
|
+
/**
|
|
554
|
+
* Results per page
|
|
555
|
+
*
|
|
556
|
+
* @generated from field: optional int32 page_size = 3;
|
|
557
|
+
*/
|
|
558
|
+
pageSize;
|
|
559
|
+
constructor(data) {
|
|
560
|
+
super();
|
|
561
|
+
proto3.util.initPartial(data, this);
|
|
562
|
+
}
|
|
563
|
+
static runtime = proto3;
|
|
564
|
+
static typeName = "liquidmetal.v1alpha1.GetPaginatedResultsRequest";
|
|
565
|
+
static fields = proto3.util.newFieldList(() => [
|
|
566
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
567
|
+
{ no: 2, name: "page", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
568
|
+
{ no: 3, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
569
|
+
]);
|
|
570
|
+
static fromBinary(bytes, options) {
|
|
571
|
+
return new GetPaginatedResultsRequest().fromBinary(bytes, options);
|
|
572
|
+
}
|
|
573
|
+
static fromJson(jsonValue, options) {
|
|
574
|
+
return new GetPaginatedResultsRequest().fromJson(jsonValue, options);
|
|
575
|
+
}
|
|
576
|
+
static fromJsonString(jsonString, options) {
|
|
577
|
+
return new GetPaginatedResultsRequest().fromJsonString(jsonString, options);
|
|
578
|
+
}
|
|
579
|
+
static equals(a, b) {
|
|
580
|
+
return proto3.util.equals(GetPaginatedResultsRequest, a, b);
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
/**
|
|
584
|
+
* GetPaginatedResultsResponse provides the requested page of results
|
|
585
|
+
* with updated pagination information.
|
|
586
|
+
*
|
|
587
|
+
* @generated from message liquidmetal.v1alpha1.GetPaginatedResultsResponse
|
|
588
|
+
*/
|
|
589
|
+
export class GetPaginatedResultsResponse extends Message {
|
|
590
|
+
/**
|
|
591
|
+
* Page results with full metadata
|
|
592
|
+
*
|
|
593
|
+
* @generated from field: repeated liquidmetal.v1alpha1.TextResult results = 1;
|
|
594
|
+
*/
|
|
595
|
+
results = [];
|
|
596
|
+
/**
|
|
597
|
+
* Updated pagination information
|
|
598
|
+
*
|
|
599
|
+
* @generated from field: liquidmetal.v1alpha1.PaginationInfo pagination = 2;
|
|
600
|
+
*/
|
|
601
|
+
pagination;
|
|
602
|
+
constructor(data) {
|
|
603
|
+
super();
|
|
604
|
+
proto3.util.initPartial(data, this);
|
|
605
|
+
}
|
|
606
|
+
static runtime = proto3;
|
|
607
|
+
static typeName = "liquidmetal.v1alpha1.GetPaginatedResultsResponse";
|
|
608
|
+
static fields = proto3.util.newFieldList(() => [
|
|
609
|
+
{ no: 1, name: "results", kind: "message", T: TextResult, repeated: true },
|
|
610
|
+
{ no: 2, name: "pagination", kind: "message", T: PaginationInfo },
|
|
611
|
+
]);
|
|
612
|
+
static fromBinary(bytes, options) {
|
|
613
|
+
return new GetPaginatedResultsResponse().fromBinary(bytes, options);
|
|
614
|
+
}
|
|
615
|
+
static fromJson(jsonValue, options) {
|
|
616
|
+
return new GetPaginatedResultsResponse().fromJson(jsonValue, options);
|
|
617
|
+
}
|
|
618
|
+
static fromJsonString(jsonString, options) {
|
|
619
|
+
return new GetPaginatedResultsResponse().fromJsonString(jsonString, options);
|
|
620
|
+
}
|
|
621
|
+
static equals(a, b) {
|
|
622
|
+
return proto3.util.equals(GetPaginatedResultsResponse, a, b);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* RegisterRetrieverToolRequest registers a new custom retriever endpoint
|
|
627
|
+
* for a specific bucket. Enables specialized search implementations.
|
|
628
|
+
*
|
|
629
|
+
* @generated from message liquidmetal.v1alpha1.RegisterRetrieverToolRequest
|
|
630
|
+
*/
|
|
631
|
+
export class RegisterRetrieverToolRequest extends Message {
|
|
632
|
+
/**
|
|
633
|
+
* Target bucket identifier
|
|
634
|
+
*
|
|
635
|
+
* @generated from field: string bucket = 1;
|
|
636
|
+
*/
|
|
637
|
+
bucket = "";
|
|
638
|
+
/**
|
|
639
|
+
* Retriever service endpoint
|
|
640
|
+
*
|
|
641
|
+
* @generated from field: string url = 2;
|
|
642
|
+
*/
|
|
643
|
+
url = "";
|
|
644
|
+
/**
|
|
645
|
+
* Delete endpoint for the retriever
|
|
646
|
+
*
|
|
647
|
+
* @generated from field: string delete_url = 3;
|
|
648
|
+
*/
|
|
649
|
+
deleteUrl = "";
|
|
650
|
+
/**
|
|
651
|
+
* Name of the bucket
|
|
652
|
+
*
|
|
653
|
+
* @generated from field: string bucket_name = 4;
|
|
654
|
+
*/
|
|
655
|
+
bucketName = "";
|
|
656
|
+
constructor(data) {
|
|
657
|
+
super();
|
|
658
|
+
proto3.util.initPartial(data, this);
|
|
659
|
+
}
|
|
660
|
+
static runtime = proto3;
|
|
661
|
+
static typeName = "liquidmetal.v1alpha1.RegisterRetrieverToolRequest";
|
|
662
|
+
static fields = proto3.util.newFieldList(() => [
|
|
663
|
+
{ no: 1, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
664
|
+
{ no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
665
|
+
{ no: 3, name: "delete_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
666
|
+
{ no: 4, name: "bucket_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
667
|
+
]);
|
|
668
|
+
static fromBinary(bytes, options) {
|
|
669
|
+
return new RegisterRetrieverToolRequest().fromBinary(bytes, options);
|
|
670
|
+
}
|
|
671
|
+
static fromJson(jsonValue, options) {
|
|
672
|
+
return new RegisterRetrieverToolRequest().fromJson(jsonValue, options);
|
|
673
|
+
}
|
|
674
|
+
static fromJsonString(jsonString, options) {
|
|
675
|
+
return new RegisterRetrieverToolRequest().fromJsonString(jsonString, options);
|
|
676
|
+
}
|
|
677
|
+
static equals(a, b) {
|
|
678
|
+
return proto3.util.equals(RegisterRetrieverToolRequest, a, b);
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
/**
|
|
682
|
+
* RegisterRetrieverToolResponse confirms the registration status
|
|
683
|
+
* of the custom retriever tool.
|
|
684
|
+
*
|
|
685
|
+
* @generated from message liquidmetal.v1alpha1.RegisterRetrieverToolResponse
|
|
686
|
+
*/
|
|
687
|
+
export class RegisterRetrieverToolResponse extends Message {
|
|
688
|
+
/**
|
|
689
|
+
* Registration status message
|
|
690
|
+
*
|
|
691
|
+
* @generated from field: string message = 1;
|
|
692
|
+
*/
|
|
693
|
+
message = "";
|
|
694
|
+
constructor(data) {
|
|
695
|
+
super();
|
|
696
|
+
proto3.util.initPartial(data, this);
|
|
697
|
+
}
|
|
698
|
+
static runtime = proto3;
|
|
699
|
+
static typeName = "liquidmetal.v1alpha1.RegisterRetrieverToolResponse";
|
|
700
|
+
static fields = proto3.util.newFieldList(() => [
|
|
701
|
+
{ no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
702
|
+
]);
|
|
703
|
+
static fromBinary(bytes, options) {
|
|
704
|
+
return new RegisterRetrieverToolResponse().fromBinary(bytes, options);
|
|
705
|
+
}
|
|
706
|
+
static fromJson(jsonValue, options) {
|
|
707
|
+
return new RegisterRetrieverToolResponse().fromJson(jsonValue, options);
|
|
708
|
+
}
|
|
709
|
+
static fromJsonString(jsonString, options) {
|
|
710
|
+
return new RegisterRetrieverToolResponse().fromJsonString(jsonString, options);
|
|
711
|
+
}
|
|
712
|
+
static equals(a, b) {
|
|
713
|
+
return proto3.util.equals(RegisterRetrieverToolResponse, a, b);
|
|
714
|
+
}
|
|
715
|
+
}
|