@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.
Files changed (44) hide show
  1. package/.changeset/breezy-lamps-fry.md +6 -0
  2. package/.turbo/turbo-lint.log +6 -0
  3. package/.turbo/turbo-test.log +6 -0
  4. package/dist/appify/build.d.ts +32 -2
  5. package/dist/appify/build.d.ts.map +1 -1
  6. package/dist/appify/build.js +166 -24
  7. package/dist/appify/build.test.js +75 -3
  8. package/dist/appify/validate.d.ts +2 -1
  9. package/dist/appify/validate.d.ts.map +1 -1
  10. package/dist/appify/validate.js +71 -2
  11. package/dist/appify/validate.test.js +74 -4
  12. package/dist/codestore.js +2 -2
  13. package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts +81 -78
  14. package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts.map +1 -1
  15. package/dist/liquidmetal/v1alpha1/catalog_connect.js +81 -78
  16. package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts +572 -610
  17. package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts.map +1 -1
  18. package/dist/liquidmetal/v1alpha1/catalog_pb.js +675 -741
  19. package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts +68 -0
  20. package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts.map +1 -0
  21. package/dist/liquidmetal/v1alpha1/resource_interface_connect.js +73 -0
  22. package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts +283 -0
  23. package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts.map +1 -0
  24. package/dist/liquidmetal/v1alpha1/resource_interface_pb.js +454 -0
  25. package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts +170 -0
  26. package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts.map +1 -0
  27. package/dist/liquidmetal/v1alpha1/search_agent_connect.js +173 -0
  28. package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts +505 -0
  29. package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts.map +1 -0
  30. package/dist/liquidmetal/v1alpha1/search_agent_pb.js +715 -0
  31. package/package.json +1 -1
  32. package/src/appify/build.test.ts +85 -3
  33. package/src/appify/build.ts +181 -25
  34. package/src/appify/validate.test.ts +77 -4
  35. package/src/appify/validate.ts +78 -1
  36. package/src/codestore.ts +2 -2
  37. package/src/liquidmetal/v1alpha1/catalog_connect.ts +81 -78
  38. package/src/liquidmetal/v1alpha1/catalog_pb.ts +872 -970
  39. package/src/liquidmetal/v1alpha1/resource_interface_connect.ts +77 -0
  40. package/src/liquidmetal/v1alpha1/resource_interface_pb.ts +561 -0
  41. package/src/liquidmetal/v1alpha1/search_agent_connect.ts +176 -0
  42. package/src/liquidmetal/v1alpha1/search_agent_pb.ts +842 -0
  43. package/tsconfig.tsbuildinfo +1 -1
  44. package/.turbo/turbo-build.log +0 -30
@@ -0,0 +1,454 @@
1
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
2
+ // @generated from file liquidmetal/v1alpha1/resource_interface.proto (package liquidmetal.v1alpha1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf";
6
+ /**
7
+ * Smartbucket details as stored in the catalog SQL database
8
+ *
9
+ * @generated from message liquidmetal.v1alpha1.SmartBucket
10
+ */
11
+ export class SmartBucket extends Message {
12
+ /**
13
+ * id of the record in the catalog SQL database
14
+ *
15
+ * @generated from field: int32 id = 1;
16
+ */
17
+ id = 0;
18
+ /**
19
+ * internal bucket ID i.e the resource ID of the smart bucket
20
+ *
21
+ * @generated from field: string bucket_id = 2;
22
+ */
23
+ bucketId = "";
24
+ /**
25
+ * user friendly name for the smart bucket
26
+ *
27
+ * @generated from field: string bucket_name = 3;
28
+ */
29
+ bucketName = "";
30
+ /**
31
+ * the URL that can be called to retrieve an objects metadata from a smart bucket
32
+ *
33
+ * @generated from field: string url = 4;
34
+ */
35
+ url = "";
36
+ /**
37
+ * the URL that can be called to delete an objects metadata from a smart bucket
38
+ *
39
+ * @generated from field: string delete_url = 5;
40
+ */
41
+ deleteUrl = "";
42
+ /**
43
+ * the date and time the smart bucket was registered in the catalog
44
+ *
45
+ * @generated from field: google.protobuf.Timestamp created_at = 6;
46
+ */
47
+ createdAt;
48
+ /**
49
+ * the date and time the smart bucket was last updated
50
+ *
51
+ * @generated from field: google.protobuf.Timestamp updated_at = 7;
52
+ */
53
+ updatedAt;
54
+ constructor(data) {
55
+ super();
56
+ proto3.util.initPartial(data, this);
57
+ }
58
+ static runtime = proto3;
59
+ static typeName = "liquidmetal.v1alpha1.SmartBucket";
60
+ static fields = proto3.util.newFieldList(() => [
61
+ { no: 1, name: "id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
62
+ { no: 2, name: "bucket_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
63
+ { no: 3, name: "bucket_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
64
+ { no: 4, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
65
+ { no: 5, name: "delete_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
66
+ { no: 6, name: "created_at", kind: "message", T: Timestamp },
67
+ { no: 7, name: "updated_at", kind: "message", T: Timestamp },
68
+ ]);
69
+ static fromBinary(bytes, options) {
70
+ return new SmartBucket().fromBinary(bytes, options);
71
+ }
72
+ static fromJson(jsonValue, options) {
73
+ return new SmartBucket().fromJson(jsonValue, options);
74
+ }
75
+ static fromJsonString(jsonString, options) {
76
+ return new SmartBucket().fromJsonString(jsonString, options);
77
+ }
78
+ static equals(a, b) {
79
+ return proto3.util.equals(SmartBucket, a, b);
80
+ }
81
+ }
82
+ /**
83
+ * @generated from message liquidmetal.v1alpha1.PutObjectRequest
84
+ */
85
+ export class PutObjectRequest extends Message {
86
+ /**
87
+ * @generated from field: string bucket = 1;
88
+ */
89
+ bucket = "";
90
+ /**
91
+ * @generated from field: string key = 2;
92
+ */
93
+ key = "";
94
+ /**
95
+ * @generated from field: bytes content = 3;
96
+ */
97
+ content = new Uint8Array(0);
98
+ /**
99
+ * @generated from field: string content_type = 4;
100
+ */
101
+ contentType = "";
102
+ constructor(data) {
103
+ super();
104
+ proto3.util.initPartial(data, this);
105
+ }
106
+ static runtime = proto3;
107
+ static typeName = "liquidmetal.v1alpha1.PutObjectRequest";
108
+ static fields = proto3.util.newFieldList(() => [
109
+ { no: 1, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
110
+ { no: 2, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
111
+ { no: 3, name: "content", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
112
+ { no: 4, name: "content_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
113
+ ]);
114
+ static fromBinary(bytes, options) {
115
+ return new PutObjectRequest().fromBinary(bytes, options);
116
+ }
117
+ static fromJson(jsonValue, options) {
118
+ return new PutObjectRequest().fromJson(jsonValue, options);
119
+ }
120
+ static fromJsonString(jsonString, options) {
121
+ return new PutObjectRequest().fromJsonString(jsonString, options);
122
+ }
123
+ static equals(a, b) {
124
+ return proto3.util.equals(PutObjectRequest, a, b);
125
+ }
126
+ }
127
+ /**
128
+ * @generated from message liquidmetal.v1alpha1.PutObjectResponse
129
+ */
130
+ export class PutObjectResponse extends Message {
131
+ /**
132
+ * @generated from field: bool success = 1;
133
+ */
134
+ success = false;
135
+ /**
136
+ * @generated from field: string bucket = 2;
137
+ */
138
+ bucket = "";
139
+ /**
140
+ * @generated from field: string key = 3;
141
+ */
142
+ key = "";
143
+ constructor(data) {
144
+ super();
145
+ proto3.util.initPartial(data, this);
146
+ }
147
+ static runtime = proto3;
148
+ static typeName = "liquidmetal.v1alpha1.PutObjectResponse";
149
+ static fields = proto3.util.newFieldList(() => [
150
+ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
151
+ { no: 2, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
152
+ { no: 3, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
153
+ ]);
154
+ static fromBinary(bytes, options) {
155
+ return new PutObjectResponse().fromBinary(bytes, options);
156
+ }
157
+ static fromJson(jsonValue, options) {
158
+ return new PutObjectResponse().fromJson(jsonValue, options);
159
+ }
160
+ static fromJsonString(jsonString, options) {
161
+ return new PutObjectResponse().fromJsonString(jsonString, options);
162
+ }
163
+ static equals(a, b) {
164
+ return proto3.util.equals(PutObjectResponse, a, b);
165
+ }
166
+ }
167
+ /**
168
+ * @generated from message liquidmetal.v1alpha1.GetObjectRequest
169
+ */
170
+ export class GetObjectRequest extends Message {
171
+ /**
172
+ * @generated from field: string bucket = 1;
173
+ */
174
+ bucket = "";
175
+ /**
176
+ * @generated from field: string key = 2;
177
+ */
178
+ key = "";
179
+ constructor(data) {
180
+ super();
181
+ proto3.util.initPartial(data, this);
182
+ }
183
+ static runtime = proto3;
184
+ static typeName = "liquidmetal.v1alpha1.GetObjectRequest";
185
+ static fields = proto3.util.newFieldList(() => [
186
+ { no: 1, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
187
+ { no: 2, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
188
+ ]);
189
+ static fromBinary(bytes, options) {
190
+ return new GetObjectRequest().fromBinary(bytes, options);
191
+ }
192
+ static fromJson(jsonValue, options) {
193
+ return new GetObjectRequest().fromJson(jsonValue, options);
194
+ }
195
+ static fromJsonString(jsonString, options) {
196
+ return new GetObjectRequest().fromJsonString(jsonString, options);
197
+ }
198
+ static equals(a, b) {
199
+ return proto3.util.equals(GetObjectRequest, a, b);
200
+ }
201
+ }
202
+ /**
203
+ * @generated from message liquidmetal.v1alpha1.GetObjectResponse
204
+ */
205
+ export class GetObjectResponse extends Message {
206
+ /**
207
+ * @generated from field: bytes content = 1;
208
+ */
209
+ content = new Uint8Array(0);
210
+ /**
211
+ * @generated from field: string content_type = 2;
212
+ */
213
+ contentType = "";
214
+ constructor(data) {
215
+ super();
216
+ proto3.util.initPartial(data, this);
217
+ }
218
+ static runtime = proto3;
219
+ static typeName = "liquidmetal.v1alpha1.GetObjectResponse";
220
+ static fields = proto3.util.newFieldList(() => [
221
+ { no: 1, name: "content", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
222
+ { no: 2, name: "content_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
223
+ ]);
224
+ static fromBinary(bytes, options) {
225
+ return new GetObjectResponse().fromBinary(bytes, options);
226
+ }
227
+ static fromJson(jsonValue, options) {
228
+ return new GetObjectResponse().fromJson(jsonValue, options);
229
+ }
230
+ static fromJsonString(jsonString, options) {
231
+ return new GetObjectResponse().fromJsonString(jsonString, options);
232
+ }
233
+ static equals(a, b) {
234
+ return proto3.util.equals(GetObjectResponse, a, b);
235
+ }
236
+ }
237
+ /**
238
+ * @generated from message liquidmetal.v1alpha1.DeleteObjectRequest
239
+ */
240
+ export class DeleteObjectRequest extends Message {
241
+ /**
242
+ * @generated from field: string bucket = 1;
243
+ */
244
+ bucket = "";
245
+ /**
246
+ * @generated from field: string key = 2;
247
+ */
248
+ key = "";
249
+ constructor(data) {
250
+ super();
251
+ proto3.util.initPartial(data, this);
252
+ }
253
+ static runtime = proto3;
254
+ static typeName = "liquidmetal.v1alpha1.DeleteObjectRequest";
255
+ static fields = proto3.util.newFieldList(() => [
256
+ { no: 1, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
257
+ { no: 2, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
258
+ ]);
259
+ static fromBinary(bytes, options) {
260
+ return new DeleteObjectRequest().fromBinary(bytes, options);
261
+ }
262
+ static fromJson(jsonValue, options) {
263
+ return new DeleteObjectRequest().fromJson(jsonValue, options);
264
+ }
265
+ static fromJsonString(jsonString, options) {
266
+ return new DeleteObjectRequest().fromJsonString(jsonString, options);
267
+ }
268
+ static equals(a, b) {
269
+ return proto3.util.equals(DeleteObjectRequest, a, b);
270
+ }
271
+ }
272
+ /**
273
+ * @generated from message liquidmetal.v1alpha1.DeleteObjectResponse
274
+ */
275
+ export class DeleteObjectResponse extends Message {
276
+ constructor(data) {
277
+ super();
278
+ proto3.util.initPartial(data, this);
279
+ }
280
+ static runtime = proto3;
281
+ static typeName = "liquidmetal.v1alpha1.DeleteObjectResponse";
282
+ static fields = proto3.util.newFieldList(() => []);
283
+ static fromBinary(bytes, options) {
284
+ return new DeleteObjectResponse().fromBinary(bytes, options);
285
+ }
286
+ static fromJson(jsonValue, options) {
287
+ return new DeleteObjectResponse().fromJson(jsonValue, options);
288
+ }
289
+ static fromJsonString(jsonString, options) {
290
+ return new DeleteObjectResponse().fromJsonString(jsonString, options);
291
+ }
292
+ static equals(a, b) {
293
+ return proto3.util.equals(DeleteObjectResponse, a, b);
294
+ }
295
+ }
296
+ /**
297
+ * @generated from message liquidmetal.v1alpha1.ListObjectsRequest
298
+ */
299
+ export class ListObjectsRequest extends Message {
300
+ /**
301
+ * @generated from field: string bucket = 1;
302
+ */
303
+ bucket = "";
304
+ constructor(data) {
305
+ super();
306
+ proto3.util.initPartial(data, this);
307
+ }
308
+ static runtime = proto3;
309
+ static typeName = "liquidmetal.v1alpha1.ListObjectsRequest";
310
+ static fields = proto3.util.newFieldList(() => [
311
+ { no: 1, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
312
+ ]);
313
+ static fromBinary(bytes, options) {
314
+ return new ListObjectsRequest().fromBinary(bytes, options);
315
+ }
316
+ static fromJson(jsonValue, options) {
317
+ return new ListObjectsRequest().fromJson(jsonValue, options);
318
+ }
319
+ static fromJsonString(jsonString, options) {
320
+ return new ListObjectsRequest().fromJsonString(jsonString, options);
321
+ }
322
+ static equals(a, b) {
323
+ return proto3.util.equals(ListObjectsRequest, a, b);
324
+ }
325
+ }
326
+ /**
327
+ * @generated from message liquidmetal.v1alpha1.ObjectInfo
328
+ */
329
+ export class ObjectInfo extends Message {
330
+ /**
331
+ * @generated from field: string key = 1;
332
+ */
333
+ key = "";
334
+ /**
335
+ * @generated from field: int64 size = 2;
336
+ */
337
+ size = protoInt64.zero;
338
+ /**
339
+ * @generated from field: string content_type = 3;
340
+ */
341
+ contentType = "";
342
+ /**
343
+ * @generated from field: google.protobuf.Timestamp last_modified = 4;
344
+ */
345
+ lastModified;
346
+ constructor(data) {
347
+ super();
348
+ proto3.util.initPartial(data, this);
349
+ }
350
+ static runtime = proto3;
351
+ static typeName = "liquidmetal.v1alpha1.ObjectInfo";
352
+ static fields = proto3.util.newFieldList(() => [
353
+ { no: 1, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
354
+ { no: 2, name: "size", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
355
+ { no: 3, name: "content_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
356
+ { no: 4, name: "last_modified", kind: "message", T: Timestamp },
357
+ ]);
358
+ static fromBinary(bytes, options) {
359
+ return new ObjectInfo().fromBinary(bytes, options);
360
+ }
361
+ static fromJson(jsonValue, options) {
362
+ return new ObjectInfo().fromJson(jsonValue, options);
363
+ }
364
+ static fromJsonString(jsonString, options) {
365
+ return new ObjectInfo().fromJsonString(jsonString, options);
366
+ }
367
+ static equals(a, b) {
368
+ return proto3.util.equals(ObjectInfo, a, b);
369
+ }
370
+ }
371
+ /**
372
+ * @generated from message liquidmetal.v1alpha1.ListObjectsResponse
373
+ */
374
+ export class ListObjectsResponse extends Message {
375
+ /**
376
+ * @generated from field: repeated liquidmetal.v1alpha1.ObjectInfo objects = 1;
377
+ */
378
+ objects = [];
379
+ constructor(data) {
380
+ super();
381
+ proto3.util.initPartial(data, this);
382
+ }
383
+ static runtime = proto3;
384
+ static typeName = "liquidmetal.v1alpha1.ListObjectsResponse";
385
+ static fields = proto3.util.newFieldList(() => [
386
+ { no: 1, name: "objects", kind: "message", T: ObjectInfo, repeated: true },
387
+ ]);
388
+ static fromBinary(bytes, options) {
389
+ return new ListObjectsResponse().fromBinary(bytes, options);
390
+ }
391
+ static fromJson(jsonValue, options) {
392
+ return new ListObjectsResponse().fromJson(jsonValue, options);
393
+ }
394
+ static fromJsonString(jsonString, options) {
395
+ return new ListObjectsResponse().fromJsonString(jsonString, options);
396
+ }
397
+ static equals(a, b) {
398
+ return proto3.util.equals(ListObjectsResponse, a, b);
399
+ }
400
+ }
401
+ /**
402
+ * @generated from message liquidmetal.v1alpha1.ListSmartBucketsRequest
403
+ */
404
+ export class ListSmartBucketsRequest extends Message {
405
+ constructor(data) {
406
+ super();
407
+ proto3.util.initPartial(data, this);
408
+ }
409
+ static runtime = proto3;
410
+ static typeName = "liquidmetal.v1alpha1.ListSmartBucketsRequest";
411
+ static fields = proto3.util.newFieldList(() => []);
412
+ static fromBinary(bytes, options) {
413
+ return new ListSmartBucketsRequest().fromBinary(bytes, options);
414
+ }
415
+ static fromJson(jsonValue, options) {
416
+ return new ListSmartBucketsRequest().fromJson(jsonValue, options);
417
+ }
418
+ static fromJsonString(jsonString, options) {
419
+ return new ListSmartBucketsRequest().fromJsonString(jsonString, options);
420
+ }
421
+ static equals(a, b) {
422
+ return proto3.util.equals(ListSmartBucketsRequest, a, b);
423
+ }
424
+ }
425
+ /**
426
+ * @generated from message liquidmetal.v1alpha1.ListSmartBucketsResponse
427
+ */
428
+ export class ListSmartBucketsResponse extends Message {
429
+ /**
430
+ * @generated from field: repeated liquidmetal.v1alpha1.SmartBucket buckets = 1;
431
+ */
432
+ buckets = [];
433
+ constructor(data) {
434
+ super();
435
+ proto3.util.initPartial(data, this);
436
+ }
437
+ static runtime = proto3;
438
+ static typeName = "liquidmetal.v1alpha1.ListSmartBucketsResponse";
439
+ static fields = proto3.util.newFieldList(() => [
440
+ { no: 1, name: "buckets", kind: "message", T: SmartBucket, repeated: true },
441
+ ]);
442
+ static fromBinary(bytes, options) {
443
+ return new ListSmartBucketsResponse().fromBinary(bytes, options);
444
+ }
445
+ static fromJson(jsonValue, options) {
446
+ return new ListSmartBucketsResponse().fromJson(jsonValue, options);
447
+ }
448
+ static fromJsonString(jsonString, options) {
449
+ return new ListSmartBucketsResponse().fromJsonString(jsonString, options);
450
+ }
451
+ static equals(a, b) {
452
+ return proto3.util.equals(ListSmartBucketsResponse, a, b);
453
+ }
454
+ }
@@ -0,0 +1,170 @@
1
+ import { CreatePageSummaryRequest, CreatePageSummaryResponse, DocumentChatRequest, DocumentChatResponse, GetPaginatedResultsRequest, GetPaginatedResultsResponse, RagSearchRequest, RagSearchResponse, RegisterRetrieverToolRequest, RegisterRetrieverToolResponse, RunSupervisorAgentRequest, RunSupervisorAgentResponse } from "./search_agent_pb.js";
2
+ import { MethodKind } from "@bufbuild/protobuf";
3
+ /**
4
+ * SearchAgentService provides the core functionality for Smart Buckets - Raindrop's intelligent
5
+ * object storage service designed specifically for AI applications. When files are uploaded
6
+ * to a Smart Bucket, they undergo advanced AI decomposition that analyzes and indexes content
7
+ * using state-of-the-art AI models. This includes:
8
+ *
9
+ * - Automated document indexing and processing
10
+ * - Extraction of structured data
11
+ * - Processing through specialized AI models
12
+ * - Storage in optimized formats for AI querying
13
+ * - Automatic PII detection and classification
14
+ *
15
+ * The service supports multiple file types including:
16
+ * - application/pdf
17
+ * - image/jpeg, image/png
18
+ * - audio/webm, audio/wav, audio/mp4, audio/mpeg
19
+ * - text/plain
20
+ *
21
+ * @generated from service liquidmetal.v1alpha1.SearchAgentService
22
+ */
23
+ export declare const SearchAgentService: {
24
+ readonly typeName: "liquidmetal.v1alpha1.SearchAgentService";
25
+ readonly methods: {
26
+ /**
27
+ * DocumentChat enables natural conversational interactions with documents stored in Smart Buckets.
28
+ * This creates an intelligent interface for document exploration through natural dialogue, allowing
29
+ * users to ask questions, request summaries, and extract insights from any supported document type.
30
+ *
31
+ * The chat system maintains conversation context, enabling follow-up questions and deep exploration
32
+ * of document content. It works across all supported file types and automatically handles multi-page
33
+ * documents, making complex document interaction as simple as having a conversation.
34
+ *
35
+ * The system will:
36
+ * - Maintain conversation history for context
37
+ * - Process questions against document content
38
+ * - Generate contextual, relevant responses
39
+ * - Handle document references and citations
40
+ * - Support multi-turn conversations about document content
41
+ *
42
+ * @generated from rpc liquidmetal.v1alpha1.SearchAgentService.DocumentChat
43
+ */
44
+ readonly documentChat: {
45
+ readonly name: "DocumentChat";
46
+ readonly I: typeof DocumentChatRequest;
47
+ readonly O: typeof DocumentChatResponse;
48
+ readonly kind: MethodKind.Unary;
49
+ };
50
+ /**
51
+ * RagSearch (Retrieval-Augmented Generation) provides an advanced search capability that serves
52
+ * as a complete drop-in replacement for traditional RAG pipelines. This system enables AI agents
53
+ * to leverage private data stored in Smart Buckets with zero additional configuration.
54
+ *
55
+ * The RAG system automatically:
56
+ * - Processes and indexes uploaded content
57
+ * - Maintains optimal chunk sizes (max 450 tokens)
58
+ * - Handles document metadata
59
+ * - Provides relevance scoring
60
+ * - Manages document versioning
61
+ *
62
+ * This creates a foundation for:
63
+ * - Training AI models with private data
64
+ * - Building intelligent knowledge bases
65
+ * - Creating context-aware chatbots
66
+ * - Implementing semantic search systems
67
+ *
68
+ * @generated from rpc liquidmetal.v1alpha1.SearchAgentService.RagSearch
69
+ */
70
+ readonly ragSearch: {
71
+ readonly name: "RagSearch";
72
+ readonly I: typeof RagSearchRequest;
73
+ readonly O: typeof RagSearchResponse;
74
+ readonly kind: MethodKind.Unary;
75
+ };
76
+ /**
77
+ * CreatePageSummary generates intelligent summaries of search result pages, helping users
78
+ * quickly understand large result sets without reading through every document. The system
79
+ * analyzes the content of all results on a given page and generates a comprehensive overview.
80
+ *
81
+ * The summary system:
82
+ * - Identifies key themes and topics
83
+ * - Extracts important findings
84
+ * - Highlights document relationships
85
+ * - Provides content type distribution
86
+ * - Summarizes metadata patterns
87
+ *
88
+ * This is particularly valuable when dealing with:
89
+ * - Large document collections
90
+ * - Mixed content types
91
+ * - Technical documentation
92
+ * - Research materials
93
+ *
94
+ * @generated from rpc liquidmetal.v1alpha1.SearchAgentService.CreatePageSummary
95
+ */
96
+ readonly createPageSummary: {
97
+ readonly name: "CreatePageSummary";
98
+ readonly I: typeof CreatePageSummaryRequest;
99
+ readonly O: typeof CreatePageSummaryResponse;
100
+ readonly kind: MethodKind.Unary;
101
+ };
102
+ /**
103
+ * RunSupervisorAgent is the primary search interface for Smart Buckets, providing
104
+ * advanced semantic search capabilities that go far beyond traditional keyword matching.
105
+ * The supervisor agent orchestrates multiple specialized search strategies to provide
106
+ * comprehensive, intelligent results.
107
+ *
108
+ * The system supports complex queries like:
109
+ * - "Show me documents containing credit card numbers or social security numbers"
110
+ * - "Find images of landscapes taken during sunset"
111
+ * - "Get documents mentioning revenue forecasts from Q4 2023"
112
+ * - "Find me all PDF documents that contain pictures of a cat"
113
+ *
114
+ * Key capabilities:
115
+ * - Natural language query understanding
116
+ * - Content-based search across text and images
117
+ * - Automatic PII detection and filtering
118
+ * - Cross-document relationship analysis
119
+ * - Multi-modal search (text, images, audio)
120
+ *
121
+ * @generated from rpc liquidmetal.v1alpha1.SearchAgentService.RunSupervisorAgent
122
+ */
123
+ readonly runSupervisorAgent: {
124
+ readonly name: "RunSupervisorAgent";
125
+ readonly I: typeof RunSupervisorAgentRequest;
126
+ readonly O: typeof RunSupervisorAgentResponse;
127
+ readonly kind: MethodKind.Unary;
128
+ };
129
+ /**
130
+ * GetPaginatedResults enables efficient navigation through large result sets while
131
+ * maintaining search context and result relevance. This method is optimized for
132
+ * handling large document collections and implementing modern UI patterns.
133
+ *
134
+ * Features:
135
+ * - Consistent result ordering
136
+ * - Configurable page sizes
137
+ * - Efficient result caching
138
+ * - Cursor-based pagination
139
+ * - Support for infinite scroll
140
+ *
141
+ * @generated from rpc liquidmetal.v1alpha1.SearchAgentService.GetPaginatedResults
142
+ */
143
+ readonly getPaginatedResults: {
144
+ readonly name: "GetPaginatedResults";
145
+ readonly I: typeof GetPaginatedResultsRequest;
146
+ readonly O: typeof GetPaginatedResultsResponse;
147
+ readonly kind: MethodKind.Unary;
148
+ };
149
+ /**
150
+ * RegisterRetrieverTool allows extending Smart Bucket capabilities with custom
151
+ * retrieval implementations. This enables specialized search algorithms and
152
+ * custom processing pipelines for specific use cases or data types.
153
+ *
154
+ * Use cases include:
155
+ * - Custom search implementations
156
+ * - Specialized retrieval algorithms
157
+ * - Domain-specific optimizations
158
+ * - Integration with existing systems
159
+ *
160
+ * @generated from rpc liquidmetal.v1alpha1.SearchAgentService.RegisterRetrieverTool
161
+ */
162
+ readonly registerRetrieverTool: {
163
+ readonly name: "RegisterRetrieverTool";
164
+ readonly I: typeof RegisterRetrieverToolRequest;
165
+ readonly O: typeof RegisterRetrieverToolResponse;
166
+ readonly kind: MethodKind.Unary;
167
+ };
168
+ };
169
+ };
170
+ //# sourceMappingURL=search_agent_connect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search_agent_connect.d.ts","sourceRoot":"","sources":["../../../src/liquidmetal/v1alpha1/search_agent_connect.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AACxV,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,kBAAkB;;;QAG3B;;;;;;;;;;;;;;;;;WAiBG;;;;;;;QAOH;;;;;;;;;;;;;;;;;;;WAmBG;;;;;;;QAOH;;;;;;;;;;;;;;;;;;;WAmBG;;;;;;;QAOH;;;;;;;;;;;;;;;;;;;;WAoBG;;;;;;;QAOH;;;;;;;;;;;;;WAaG;;;;;;;QAOH;;;;;;;;;;;;WAYG;;;;;;;;CAQG,CAAC"}