@liquidmetal-ai/drizzle 0.2.1 → 0.2.3
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/dist/appify/index.d.ts +4 -0
- package/dist/appify/index.d.ts.map +1 -1
- package/dist/appify/index.js +18 -1
- package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts +78 -0
- package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/catalog_pb.js +99 -0
- 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/index.ts +18 -1
- package/src/liquidmetal/v1alpha1/catalog_pb.ts +115 -0
- 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
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file liquidmetal/v1alpha1/search_agent.proto (package liquidmetal.v1alpha1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { CreatePageSummaryRequest, CreatePageSummaryResponse, DocumentChatRequest, DocumentChatResponse, GetPaginatedResultsRequest, GetPaginatedResultsResponse, RagSearchRequest, RagSearchResponse, RegisterRetrieverToolRequest, RegisterRetrieverToolResponse, RunSupervisorAgentRequest, RunSupervisorAgentResponse } from "./search_agent_pb.js";
|
|
6
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
+
/**
|
|
8
|
+
* SearchAgentService provides the core functionality for Smart Buckets - Raindrop's intelligent
|
|
9
|
+
* object storage service designed specifically for AI applications. When files are uploaded
|
|
10
|
+
* to a Smart Bucket, they undergo advanced AI decomposition that analyzes and indexes content
|
|
11
|
+
* using state-of-the-art AI models. This includes:
|
|
12
|
+
*
|
|
13
|
+
* - Automated document indexing and processing
|
|
14
|
+
* - Extraction of structured data
|
|
15
|
+
* - Processing through specialized AI models
|
|
16
|
+
* - Storage in optimized formats for AI querying
|
|
17
|
+
* - Automatic PII detection and classification
|
|
18
|
+
*
|
|
19
|
+
* The service supports multiple file types including:
|
|
20
|
+
* - application/pdf
|
|
21
|
+
* - image/jpeg, image/png
|
|
22
|
+
* - audio/webm, audio/wav, audio/mp4, audio/mpeg
|
|
23
|
+
* - text/plain
|
|
24
|
+
*
|
|
25
|
+
* @generated from service liquidmetal.v1alpha1.SearchAgentService
|
|
26
|
+
*/
|
|
27
|
+
export const SearchAgentService = {
|
|
28
|
+
typeName: "liquidmetal.v1alpha1.SearchAgentService",
|
|
29
|
+
methods: {
|
|
30
|
+
/**
|
|
31
|
+
* DocumentChat enables natural conversational interactions with documents stored in Smart Buckets.
|
|
32
|
+
* This creates an intelligent interface for document exploration through natural dialogue, allowing
|
|
33
|
+
* users to ask questions, request summaries, and extract insights from any supported document type.
|
|
34
|
+
*
|
|
35
|
+
* The chat system maintains conversation context, enabling follow-up questions and deep exploration
|
|
36
|
+
* of document content. It works across all supported file types and automatically handles multi-page
|
|
37
|
+
* documents, making complex document interaction as simple as having a conversation.
|
|
38
|
+
*
|
|
39
|
+
* The system will:
|
|
40
|
+
* - Maintain conversation history for context
|
|
41
|
+
* - Process questions against document content
|
|
42
|
+
* - Generate contextual, relevant responses
|
|
43
|
+
* - Handle document references and citations
|
|
44
|
+
* - Support multi-turn conversations about document content
|
|
45
|
+
*
|
|
46
|
+
* @generated from rpc liquidmetal.v1alpha1.SearchAgentService.DocumentChat
|
|
47
|
+
*/
|
|
48
|
+
documentChat: {
|
|
49
|
+
name: "DocumentChat",
|
|
50
|
+
I: DocumentChatRequest,
|
|
51
|
+
O: DocumentChatResponse,
|
|
52
|
+
kind: MethodKind.Unary,
|
|
53
|
+
},
|
|
54
|
+
/**
|
|
55
|
+
* RagSearch (Retrieval-Augmented Generation) provides an advanced search capability that serves
|
|
56
|
+
* as a complete drop-in replacement for traditional RAG pipelines. This system enables AI agents
|
|
57
|
+
* to leverage private data stored in Smart Buckets with zero additional configuration.
|
|
58
|
+
*
|
|
59
|
+
* The RAG system automatically:
|
|
60
|
+
* - Processes and indexes uploaded content
|
|
61
|
+
* - Maintains optimal chunk sizes (max 450 tokens)
|
|
62
|
+
* - Handles document metadata
|
|
63
|
+
* - Provides relevance scoring
|
|
64
|
+
* - Manages document versioning
|
|
65
|
+
*
|
|
66
|
+
* This creates a foundation for:
|
|
67
|
+
* - Training AI models with private data
|
|
68
|
+
* - Building intelligent knowledge bases
|
|
69
|
+
* - Creating context-aware chatbots
|
|
70
|
+
* - Implementing semantic search systems
|
|
71
|
+
*
|
|
72
|
+
* @generated from rpc liquidmetal.v1alpha1.SearchAgentService.RagSearch
|
|
73
|
+
*/
|
|
74
|
+
ragSearch: {
|
|
75
|
+
name: "RagSearch",
|
|
76
|
+
I: RagSearchRequest,
|
|
77
|
+
O: RagSearchResponse,
|
|
78
|
+
kind: MethodKind.Unary,
|
|
79
|
+
},
|
|
80
|
+
/**
|
|
81
|
+
* CreatePageSummary generates intelligent summaries of search result pages, helping users
|
|
82
|
+
* quickly understand large result sets without reading through every document. The system
|
|
83
|
+
* analyzes the content of all results on a given page and generates a comprehensive overview.
|
|
84
|
+
*
|
|
85
|
+
* The summary system:
|
|
86
|
+
* - Identifies key themes and topics
|
|
87
|
+
* - Extracts important findings
|
|
88
|
+
* - Highlights document relationships
|
|
89
|
+
* - Provides content type distribution
|
|
90
|
+
* - Summarizes metadata patterns
|
|
91
|
+
*
|
|
92
|
+
* This is particularly valuable when dealing with:
|
|
93
|
+
* - Large document collections
|
|
94
|
+
* - Mixed content types
|
|
95
|
+
* - Technical documentation
|
|
96
|
+
* - Research materials
|
|
97
|
+
*
|
|
98
|
+
* @generated from rpc liquidmetal.v1alpha1.SearchAgentService.CreatePageSummary
|
|
99
|
+
*/
|
|
100
|
+
createPageSummary: {
|
|
101
|
+
name: "CreatePageSummary",
|
|
102
|
+
I: CreatePageSummaryRequest,
|
|
103
|
+
O: CreatePageSummaryResponse,
|
|
104
|
+
kind: MethodKind.Unary,
|
|
105
|
+
},
|
|
106
|
+
/**
|
|
107
|
+
* RunSupervisorAgent is the primary search interface for Smart Buckets, providing
|
|
108
|
+
* advanced semantic search capabilities that go far beyond traditional keyword matching.
|
|
109
|
+
* The supervisor agent orchestrates multiple specialized search strategies to provide
|
|
110
|
+
* comprehensive, intelligent results.
|
|
111
|
+
*
|
|
112
|
+
* The system supports complex queries like:
|
|
113
|
+
* - "Show me documents containing credit card numbers or social security numbers"
|
|
114
|
+
* - "Find images of landscapes taken during sunset"
|
|
115
|
+
* - "Get documents mentioning revenue forecasts from Q4 2023"
|
|
116
|
+
* - "Find me all PDF documents that contain pictures of a cat"
|
|
117
|
+
*
|
|
118
|
+
* Key capabilities:
|
|
119
|
+
* - Natural language query understanding
|
|
120
|
+
* - Content-based search across text and images
|
|
121
|
+
* - Automatic PII detection and filtering
|
|
122
|
+
* - Cross-document relationship analysis
|
|
123
|
+
* - Multi-modal search (text, images, audio)
|
|
124
|
+
*
|
|
125
|
+
* @generated from rpc liquidmetal.v1alpha1.SearchAgentService.RunSupervisorAgent
|
|
126
|
+
*/
|
|
127
|
+
runSupervisorAgent: {
|
|
128
|
+
name: "RunSupervisorAgent",
|
|
129
|
+
I: RunSupervisorAgentRequest,
|
|
130
|
+
O: RunSupervisorAgentResponse,
|
|
131
|
+
kind: MethodKind.Unary,
|
|
132
|
+
},
|
|
133
|
+
/**
|
|
134
|
+
* GetPaginatedResults enables efficient navigation through large result sets while
|
|
135
|
+
* maintaining search context and result relevance. This method is optimized for
|
|
136
|
+
* handling large document collections and implementing modern UI patterns.
|
|
137
|
+
*
|
|
138
|
+
* Features:
|
|
139
|
+
* - Consistent result ordering
|
|
140
|
+
* - Configurable page sizes
|
|
141
|
+
* - Efficient result caching
|
|
142
|
+
* - Cursor-based pagination
|
|
143
|
+
* - Support for infinite scroll
|
|
144
|
+
*
|
|
145
|
+
* @generated from rpc liquidmetal.v1alpha1.SearchAgentService.GetPaginatedResults
|
|
146
|
+
*/
|
|
147
|
+
getPaginatedResults: {
|
|
148
|
+
name: "GetPaginatedResults",
|
|
149
|
+
I: GetPaginatedResultsRequest,
|
|
150
|
+
O: GetPaginatedResultsResponse,
|
|
151
|
+
kind: MethodKind.Unary,
|
|
152
|
+
},
|
|
153
|
+
/**
|
|
154
|
+
* RegisterRetrieverTool allows extending Smart Bucket capabilities with custom
|
|
155
|
+
* retrieval implementations. This enables specialized search algorithms and
|
|
156
|
+
* custom processing pipelines for specific use cases or data types.
|
|
157
|
+
*
|
|
158
|
+
* Use cases include:
|
|
159
|
+
* - Custom search implementations
|
|
160
|
+
* - Specialized retrieval algorithms
|
|
161
|
+
* - Domain-specific optimizations
|
|
162
|
+
* - Integration with existing systems
|
|
163
|
+
*
|
|
164
|
+
* @generated from rpc liquidmetal.v1alpha1.SearchAgentService.RegisterRetrieverTool
|
|
165
|
+
*/
|
|
166
|
+
registerRetrieverTool: {
|
|
167
|
+
name: "RegisterRetrieverTool",
|
|
168
|
+
I: RegisterRetrieverToolRequest,
|
|
169
|
+
O: RegisterRetrieverToolResponse,
|
|
170
|
+
kind: MethodKind.Unary,
|
|
171
|
+
},
|
|
172
|
+
}
|
|
173
|
+
};
|
|
@@ -0,0 +1,505 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* DocumentChatRequest initiates or continues a conversation about a specific document.
|
|
5
|
+
* The system maintains conversation context for natural, flowing dialogue about
|
|
6
|
+
* document content.
|
|
7
|
+
*
|
|
8
|
+
* @generated from message liquidmetal.v1alpha1.DocumentChatRequest
|
|
9
|
+
*/
|
|
10
|
+
export declare class DocumentChatRequest extends Message<DocumentChatRequest> {
|
|
11
|
+
/**
|
|
12
|
+
* The storage bucket containing the target document
|
|
13
|
+
* Must be a valid, registered Smart Bucket
|
|
14
|
+
*
|
|
15
|
+
* @generated from field: string bucket = 1;
|
|
16
|
+
*/
|
|
17
|
+
bucket: string;
|
|
18
|
+
/**
|
|
19
|
+
* Document identifier within the bucket
|
|
20
|
+
* Typically matches the storage path or key
|
|
21
|
+
*
|
|
22
|
+
* @generated from field: string object_id = 2;
|
|
23
|
+
*/
|
|
24
|
+
objectId: string;
|
|
25
|
+
/**
|
|
26
|
+
* User's input or question about the document
|
|
27
|
+
* Can be natural language questions, commands, or requests
|
|
28
|
+
*
|
|
29
|
+
* @generated from field: string input = 3;
|
|
30
|
+
*/
|
|
31
|
+
input: string;
|
|
32
|
+
/**
|
|
33
|
+
* Conversation session identifier
|
|
34
|
+
* Use the same ID for follow-up questions to maintain context
|
|
35
|
+
*
|
|
36
|
+
* @generated from field: string request_id = 4;
|
|
37
|
+
*/
|
|
38
|
+
requestId: string;
|
|
39
|
+
constructor(data?: PartialMessage<DocumentChatRequest>);
|
|
40
|
+
static readonly runtime: typeof proto3;
|
|
41
|
+
static readonly typeName = "liquidmetal.v1alpha1.DocumentChatRequest";
|
|
42
|
+
static readonly fields: FieldList;
|
|
43
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DocumentChatRequest;
|
|
44
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DocumentChatRequest;
|
|
45
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DocumentChatRequest;
|
|
46
|
+
static equals(a: DocumentChatRequest | PlainMessage<DocumentChatRequest> | undefined, b: DocumentChatRequest | PlainMessage<DocumentChatRequest> | undefined): boolean;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* DocumentChatResponse contains the AI's response based on document content
|
|
50
|
+
* and conversation context. Responses are generated considering both the
|
|
51
|
+
* current question and previous conversation history.
|
|
52
|
+
*
|
|
53
|
+
* @generated from message liquidmetal.v1alpha1.DocumentChatResponse
|
|
54
|
+
*/
|
|
55
|
+
export declare class DocumentChatResponse extends Message<DocumentChatResponse> {
|
|
56
|
+
/**
|
|
57
|
+
* AI-generated response that may include:
|
|
58
|
+
* - Direct document quotes
|
|
59
|
+
* - Content summaries
|
|
60
|
+
* - Contextual explanations
|
|
61
|
+
* - References to specific sections
|
|
62
|
+
* - Related content suggestions
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: string answer = 1;
|
|
65
|
+
*/
|
|
66
|
+
answer: string;
|
|
67
|
+
constructor(data?: PartialMessage<DocumentChatResponse>);
|
|
68
|
+
static readonly runtime: typeof proto3;
|
|
69
|
+
static readonly typeName = "liquidmetal.v1alpha1.DocumentChatResponse";
|
|
70
|
+
static readonly fields: FieldList;
|
|
71
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DocumentChatResponse;
|
|
72
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DocumentChatResponse;
|
|
73
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DocumentChatResponse;
|
|
74
|
+
static equals(a: DocumentChatResponse | PlainMessage<DocumentChatResponse> | undefined, b: DocumentChatResponse | PlainMessage<DocumentChatResponse> | undefined): boolean;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* RagSearchRequest enables semantic search across document collections using
|
|
78
|
+
* natural language queries. The system automatically optimizes the search
|
|
79
|
+
* strategy based on the query content.
|
|
80
|
+
*
|
|
81
|
+
* @generated from message liquidmetal.v1alpha1.RagSearchRequest
|
|
82
|
+
*/
|
|
83
|
+
export declare class RagSearchRequest extends Message<RagSearchRequest> {
|
|
84
|
+
/**
|
|
85
|
+
* Natural language query or question
|
|
86
|
+
* Can include complex criteria and relationships
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: string input = 1;
|
|
89
|
+
*/
|
|
90
|
+
input: string;
|
|
91
|
+
/**
|
|
92
|
+
* Search session identifier for result tracking
|
|
93
|
+
* Used for pagination and result caching
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: string request_id = 2;
|
|
96
|
+
*/
|
|
97
|
+
requestId: string;
|
|
98
|
+
/**
|
|
99
|
+
* Bucket IDs to search
|
|
100
|
+
* If provided, the search will only return results from these buckets
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: repeated string bucket_ids = 3;
|
|
103
|
+
*/
|
|
104
|
+
bucketIds: string[];
|
|
105
|
+
constructor(data?: PartialMessage<RagSearchRequest>);
|
|
106
|
+
static readonly runtime: typeof proto3;
|
|
107
|
+
static readonly typeName = "liquidmetal.v1alpha1.RagSearchRequest";
|
|
108
|
+
static readonly fields: FieldList;
|
|
109
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RagSearchRequest;
|
|
110
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RagSearchRequest;
|
|
111
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RagSearchRequest;
|
|
112
|
+
static equals(a: RagSearchRequest | PlainMessage<RagSearchRequest> | undefined, b: RagSearchRequest | PlainMessage<RagSearchRequest> | undefined): boolean;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* RagSearchResponse provides semantically relevant results with metadata
|
|
116
|
+
* and relevance scoring. Results are automatically filtered for PII
|
|
117
|
+
* and ranked by relevance.
|
|
118
|
+
*
|
|
119
|
+
* @generated from message liquidmetal.v1alpha1.RagSearchResponse
|
|
120
|
+
*/
|
|
121
|
+
export declare class RagSearchResponse extends Message<RagSearchResponse> {
|
|
122
|
+
/**
|
|
123
|
+
* Ordered list of relevant text segments
|
|
124
|
+
* Each result includes full context and metadata
|
|
125
|
+
*
|
|
126
|
+
* @generated from field: repeated liquidmetal.v1alpha1.TextResult results = 1;
|
|
127
|
+
*/
|
|
128
|
+
results: TextResult[];
|
|
129
|
+
constructor(data?: PartialMessage<RagSearchResponse>);
|
|
130
|
+
static readonly runtime: typeof proto3;
|
|
131
|
+
static readonly typeName = "liquidmetal.v1alpha1.RagSearchResponse";
|
|
132
|
+
static readonly fields: FieldList;
|
|
133
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RagSearchResponse;
|
|
134
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RagSearchResponse;
|
|
135
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RagSearchResponse;
|
|
136
|
+
static equals(a: RagSearchResponse | PlainMessage<RagSearchResponse> | undefined, b: RagSearchResponse | PlainMessage<RagSearchResponse> | undefined): boolean;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* TextResult represents a single search result with comprehensive metadata
|
|
140
|
+
* and relevance information. This structure provides all necessary context
|
|
141
|
+
* for understanding and displaying the result.
|
|
142
|
+
*
|
|
143
|
+
* @generated from message liquidmetal.v1alpha1.TextResult
|
|
144
|
+
*/
|
|
145
|
+
export declare class TextResult extends Message<TextResult> {
|
|
146
|
+
/**
|
|
147
|
+
* Unique identifier for this text segment
|
|
148
|
+
* Used for deduplication and result tracking
|
|
149
|
+
*
|
|
150
|
+
* @generated from field: optional string chunk_signature = 1;
|
|
151
|
+
*/
|
|
152
|
+
chunkSignature?: string;
|
|
153
|
+
/**
|
|
154
|
+
* The actual content of the result
|
|
155
|
+
* May be a document excerpt or full content
|
|
156
|
+
*
|
|
157
|
+
* @generated from field: optional string text = 2;
|
|
158
|
+
*/
|
|
159
|
+
text?: string;
|
|
160
|
+
/**
|
|
161
|
+
* Source document information in JSON format
|
|
162
|
+
* Includes bucket, path, type, and metadata
|
|
163
|
+
*
|
|
164
|
+
* @generated from field: optional string source = 3;
|
|
165
|
+
*/
|
|
166
|
+
source?: string;
|
|
167
|
+
/**
|
|
168
|
+
* Parent document identifier
|
|
169
|
+
* Links related content chunks together
|
|
170
|
+
*
|
|
171
|
+
* @generated from field: optional string payload_signature = 4;
|
|
172
|
+
*/
|
|
173
|
+
payloadSignature?: string;
|
|
174
|
+
/**
|
|
175
|
+
* Relevance score (0.0 to 1.0)
|
|
176
|
+
* Higher scores indicate better matches
|
|
177
|
+
*
|
|
178
|
+
* @generated from field: optional double score = 5;
|
|
179
|
+
*/
|
|
180
|
+
score?: number;
|
|
181
|
+
/**
|
|
182
|
+
* Vector representation for similarity matching
|
|
183
|
+
* Used in semantic search operations
|
|
184
|
+
*
|
|
185
|
+
* @generated from field: optional string embed = 6;
|
|
186
|
+
*/
|
|
187
|
+
embed?: string;
|
|
188
|
+
/**
|
|
189
|
+
* Content MIME type
|
|
190
|
+
* Helps with proper result rendering
|
|
191
|
+
*
|
|
192
|
+
* @generated from field: optional string type = 7;
|
|
193
|
+
*/
|
|
194
|
+
type?: string;
|
|
195
|
+
constructor(data?: PartialMessage<TextResult>);
|
|
196
|
+
static readonly runtime: typeof proto3;
|
|
197
|
+
static readonly typeName = "liquidmetal.v1alpha1.TextResult";
|
|
198
|
+
static readonly fields: FieldList;
|
|
199
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextResult;
|
|
200
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextResult;
|
|
201
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextResult;
|
|
202
|
+
static equals(a: TextResult | PlainMessage<TextResult> | undefined, b: TextResult | PlainMessage<TextResult> | undefined): boolean;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* PaginationInfo provides detailed pagination metadata for implementing
|
|
206
|
+
* UI controls and managing result navigation. Supports both traditional
|
|
207
|
+
* pagination and infinite scroll patterns.
|
|
208
|
+
*
|
|
209
|
+
* @generated from message liquidmetal.v1alpha1.PaginationInfo
|
|
210
|
+
*/
|
|
211
|
+
export declare class PaginationInfo extends Message<PaginationInfo> {
|
|
212
|
+
/**
|
|
213
|
+
* Total number of available results
|
|
214
|
+
*
|
|
215
|
+
* @generated from field: int32 total = 1;
|
|
216
|
+
*/
|
|
217
|
+
total: number;
|
|
218
|
+
/**
|
|
219
|
+
* Current page number (1-based)
|
|
220
|
+
*
|
|
221
|
+
* @generated from field: int32 page = 2;
|
|
222
|
+
*/
|
|
223
|
+
page: number;
|
|
224
|
+
/**
|
|
225
|
+
* Results per page
|
|
226
|
+
* May be adjusted for performance
|
|
227
|
+
*
|
|
228
|
+
* @generated from field: int32 page_size = 3;
|
|
229
|
+
*/
|
|
230
|
+
pageSize: number;
|
|
231
|
+
/**
|
|
232
|
+
* Total available pages
|
|
233
|
+
* Calculated as ceil(total/page_size)
|
|
234
|
+
*
|
|
235
|
+
* @generated from field: int32 total_pages = 4;
|
|
236
|
+
*/
|
|
237
|
+
totalPages: number;
|
|
238
|
+
/**
|
|
239
|
+
* Indicates more results available
|
|
240
|
+
* Used for infinite scroll implementation
|
|
241
|
+
*
|
|
242
|
+
* @generated from field: bool has_more = 5;
|
|
243
|
+
*/
|
|
244
|
+
hasMore: boolean;
|
|
245
|
+
constructor(data?: PartialMessage<PaginationInfo>);
|
|
246
|
+
static readonly runtime: typeof proto3;
|
|
247
|
+
static readonly typeName = "liquidmetal.v1alpha1.PaginationInfo";
|
|
248
|
+
static readonly fields: FieldList;
|
|
249
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PaginationInfo;
|
|
250
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PaginationInfo;
|
|
251
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PaginationInfo;
|
|
252
|
+
static equals(a: PaginationInfo | PlainMessage<PaginationInfo> | undefined, b: PaginationInfo | PlainMessage<PaginationInfo> | undefined): boolean;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* CreatePageSummaryRequest requests an AI-generated summary of search results
|
|
256
|
+
* for a specific page. Helps users quickly understand large result sets.
|
|
257
|
+
*
|
|
258
|
+
* @generated from message liquidmetal.v1alpha1.CreatePageSummaryRequest
|
|
259
|
+
*/
|
|
260
|
+
export declare class CreatePageSummaryRequest extends Message<CreatePageSummaryRequest> {
|
|
261
|
+
/**
|
|
262
|
+
* Target page number (1-based)
|
|
263
|
+
*
|
|
264
|
+
* @generated from field: int32 page = 1;
|
|
265
|
+
*/
|
|
266
|
+
page: number;
|
|
267
|
+
/**
|
|
268
|
+
* Results per page
|
|
269
|
+
* Affects summary granularity
|
|
270
|
+
*
|
|
271
|
+
* @generated from field: int32 page_size = 2;
|
|
272
|
+
*/
|
|
273
|
+
pageSize: number;
|
|
274
|
+
/**
|
|
275
|
+
* Original search session identifier
|
|
276
|
+
*
|
|
277
|
+
* @generated from field: string request_id = 3;
|
|
278
|
+
*/
|
|
279
|
+
requestId: string;
|
|
280
|
+
constructor(data?: PartialMessage<CreatePageSummaryRequest>);
|
|
281
|
+
static readonly runtime: typeof proto3;
|
|
282
|
+
static readonly typeName = "liquidmetal.v1alpha1.CreatePageSummaryRequest";
|
|
283
|
+
static readonly fields: FieldList;
|
|
284
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePageSummaryRequest;
|
|
285
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePageSummaryRequest;
|
|
286
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePageSummaryRequest;
|
|
287
|
+
static equals(a: CreatePageSummaryRequest | PlainMessage<CreatePageSummaryRequest> | undefined, b: CreatePageSummaryRequest | PlainMessage<CreatePageSummaryRequest> | undefined): boolean;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* CreatePageSummaryResponse provides an AI-generated overview of the
|
|
291
|
+
* search results page, highlighting key themes and patterns.
|
|
292
|
+
*
|
|
293
|
+
* @generated from message liquidmetal.v1alpha1.CreatePageSummaryResponse
|
|
294
|
+
*/
|
|
295
|
+
export declare class CreatePageSummaryResponse extends Message<CreatePageSummaryResponse> {
|
|
296
|
+
/**
|
|
297
|
+
* AI-generated summary including:
|
|
298
|
+
* - Key themes and topics
|
|
299
|
+
* - Content type distribution
|
|
300
|
+
* - Important findings
|
|
301
|
+
* - Document relationships
|
|
302
|
+
*
|
|
303
|
+
* @generated from field: string summary = 1;
|
|
304
|
+
*/
|
|
305
|
+
summary: string;
|
|
306
|
+
constructor(data?: PartialMessage<CreatePageSummaryResponse>);
|
|
307
|
+
static readonly runtime: typeof proto3;
|
|
308
|
+
static readonly typeName = "liquidmetal.v1alpha1.CreatePageSummaryResponse";
|
|
309
|
+
static readonly fields: FieldList;
|
|
310
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePageSummaryResponse;
|
|
311
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePageSummaryResponse;
|
|
312
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePageSummaryResponse;
|
|
313
|
+
static equals(a: CreatePageSummaryResponse | PlainMessage<CreatePageSummaryResponse> | undefined, b: CreatePageSummaryResponse | PlainMessage<CreatePageSummaryResponse> | undefined): boolean;
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* RunSupervisorAgentRequest initiates a new semantic search operation
|
|
317
|
+
* using natural language queries. The supervisor coordinates multiple
|
|
318
|
+
* search strategies for comprehensive results.
|
|
319
|
+
*
|
|
320
|
+
* @generated from message liquidmetal.v1alpha1.RunSupervisorAgentRequest
|
|
321
|
+
*/
|
|
322
|
+
export declare class RunSupervisorAgentRequest extends Message<RunSupervisorAgentRequest> {
|
|
323
|
+
/**
|
|
324
|
+
* Natural language search query
|
|
325
|
+
* Can include complex criteria
|
|
326
|
+
*
|
|
327
|
+
* @generated from field: string input = 1;
|
|
328
|
+
*/
|
|
329
|
+
input: string;
|
|
330
|
+
/**
|
|
331
|
+
* Search session identifier
|
|
332
|
+
* Used for result tracking
|
|
333
|
+
*
|
|
334
|
+
* @generated from field: string request_id = 2;
|
|
335
|
+
*/
|
|
336
|
+
requestId: string;
|
|
337
|
+
/**
|
|
338
|
+
* Bucket IDs to search
|
|
339
|
+
* If provided, the search will only return results from these buckets
|
|
340
|
+
*
|
|
341
|
+
* @generated from field: repeated string bucket_ids = 3;
|
|
342
|
+
*/
|
|
343
|
+
bucketIds: string[];
|
|
344
|
+
constructor(data?: PartialMessage<RunSupervisorAgentRequest>);
|
|
345
|
+
static readonly runtime: typeof proto3;
|
|
346
|
+
static readonly typeName = "liquidmetal.v1alpha1.RunSupervisorAgentRequest";
|
|
347
|
+
static readonly fields: FieldList;
|
|
348
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunSupervisorAgentRequest;
|
|
349
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunSupervisorAgentRequest;
|
|
350
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunSupervisorAgentRequest;
|
|
351
|
+
static equals(a: RunSupervisorAgentRequest | PlainMessage<RunSupervisorAgentRequest> | undefined, b: RunSupervisorAgentRequest | PlainMessage<RunSupervisorAgentRequest> | undefined): boolean;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* RunSupervisorAgentResponse provides the initial set of search results
|
|
355
|
+
* along with pagination information for result navigation.
|
|
356
|
+
*
|
|
357
|
+
* @generated from message liquidmetal.v1alpha1.RunSupervisorAgentResponse
|
|
358
|
+
*/
|
|
359
|
+
export declare class RunSupervisorAgentResponse extends Message<RunSupervisorAgentResponse> {
|
|
360
|
+
/**
|
|
361
|
+
* Matched results with metadata
|
|
362
|
+
*
|
|
363
|
+
* @generated from field: repeated liquidmetal.v1alpha1.TextResult results = 1;
|
|
364
|
+
*/
|
|
365
|
+
results: TextResult[];
|
|
366
|
+
/**
|
|
367
|
+
* Pagination details for result navigation
|
|
368
|
+
*
|
|
369
|
+
* @generated from field: liquidmetal.v1alpha1.PaginationInfo pagination = 2;
|
|
370
|
+
*/
|
|
371
|
+
pagination?: PaginationInfo;
|
|
372
|
+
constructor(data?: PartialMessage<RunSupervisorAgentResponse>);
|
|
373
|
+
static readonly runtime: typeof proto3;
|
|
374
|
+
static readonly typeName = "liquidmetal.v1alpha1.RunSupervisorAgentResponse";
|
|
375
|
+
static readonly fields: FieldList;
|
|
376
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunSupervisorAgentResponse;
|
|
377
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunSupervisorAgentResponse;
|
|
378
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunSupervisorAgentResponse;
|
|
379
|
+
static equals(a: RunSupervisorAgentResponse | PlainMessage<RunSupervisorAgentResponse> | undefined, b: RunSupervisorAgentResponse | PlainMessage<RunSupervisorAgentResponse> | undefined): boolean;
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* GetPaginatedResultsRequest retrieves additional pages from a previous
|
|
383
|
+
* search operation. Maintains result consistency across pages.
|
|
384
|
+
*
|
|
385
|
+
* @generated from message liquidmetal.v1alpha1.GetPaginatedResultsRequest
|
|
386
|
+
*/
|
|
387
|
+
export declare class GetPaginatedResultsRequest extends Message<GetPaginatedResultsRequest> {
|
|
388
|
+
/**
|
|
389
|
+
* Original search session identifier
|
|
390
|
+
*
|
|
391
|
+
* @generated from field: string request_id = 1;
|
|
392
|
+
*/
|
|
393
|
+
requestId: string;
|
|
394
|
+
/**
|
|
395
|
+
* Requested page number
|
|
396
|
+
*
|
|
397
|
+
* @generated from field: optional int32 page = 2;
|
|
398
|
+
*/
|
|
399
|
+
page?: number;
|
|
400
|
+
/**
|
|
401
|
+
* Results per page
|
|
402
|
+
*
|
|
403
|
+
* @generated from field: optional int32 page_size = 3;
|
|
404
|
+
*/
|
|
405
|
+
pageSize?: number;
|
|
406
|
+
constructor(data?: PartialMessage<GetPaginatedResultsRequest>);
|
|
407
|
+
static readonly runtime: typeof proto3;
|
|
408
|
+
static readonly typeName = "liquidmetal.v1alpha1.GetPaginatedResultsRequest";
|
|
409
|
+
static readonly fields: FieldList;
|
|
410
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPaginatedResultsRequest;
|
|
411
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPaginatedResultsRequest;
|
|
412
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPaginatedResultsRequest;
|
|
413
|
+
static equals(a: GetPaginatedResultsRequest | PlainMessage<GetPaginatedResultsRequest> | undefined, b: GetPaginatedResultsRequest | PlainMessage<GetPaginatedResultsRequest> | undefined): boolean;
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* GetPaginatedResultsResponse provides the requested page of results
|
|
417
|
+
* with updated pagination information.
|
|
418
|
+
*
|
|
419
|
+
* @generated from message liquidmetal.v1alpha1.GetPaginatedResultsResponse
|
|
420
|
+
*/
|
|
421
|
+
export declare class GetPaginatedResultsResponse extends Message<GetPaginatedResultsResponse> {
|
|
422
|
+
/**
|
|
423
|
+
* Page results with full metadata
|
|
424
|
+
*
|
|
425
|
+
* @generated from field: repeated liquidmetal.v1alpha1.TextResult results = 1;
|
|
426
|
+
*/
|
|
427
|
+
results: TextResult[];
|
|
428
|
+
/**
|
|
429
|
+
* Updated pagination information
|
|
430
|
+
*
|
|
431
|
+
* @generated from field: liquidmetal.v1alpha1.PaginationInfo pagination = 2;
|
|
432
|
+
*/
|
|
433
|
+
pagination?: PaginationInfo;
|
|
434
|
+
constructor(data?: PartialMessage<GetPaginatedResultsResponse>);
|
|
435
|
+
static readonly runtime: typeof proto3;
|
|
436
|
+
static readonly typeName = "liquidmetal.v1alpha1.GetPaginatedResultsResponse";
|
|
437
|
+
static readonly fields: FieldList;
|
|
438
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPaginatedResultsResponse;
|
|
439
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPaginatedResultsResponse;
|
|
440
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPaginatedResultsResponse;
|
|
441
|
+
static equals(a: GetPaginatedResultsResponse | PlainMessage<GetPaginatedResultsResponse> | undefined, b: GetPaginatedResultsResponse | PlainMessage<GetPaginatedResultsResponse> | undefined): boolean;
|
|
442
|
+
}
|
|
443
|
+
/**
|
|
444
|
+
* RegisterRetrieverToolRequest registers a new custom retriever endpoint
|
|
445
|
+
* for a specific bucket. Enables specialized search implementations.
|
|
446
|
+
*
|
|
447
|
+
* @generated from message liquidmetal.v1alpha1.RegisterRetrieverToolRequest
|
|
448
|
+
*/
|
|
449
|
+
export declare class RegisterRetrieverToolRequest extends Message<RegisterRetrieverToolRequest> {
|
|
450
|
+
/**
|
|
451
|
+
* Target bucket identifier
|
|
452
|
+
*
|
|
453
|
+
* @generated from field: string bucket = 1;
|
|
454
|
+
*/
|
|
455
|
+
bucket: string;
|
|
456
|
+
/**
|
|
457
|
+
* Retriever service endpoint
|
|
458
|
+
*
|
|
459
|
+
* @generated from field: string url = 2;
|
|
460
|
+
*/
|
|
461
|
+
url: string;
|
|
462
|
+
/**
|
|
463
|
+
* Delete endpoint for the retriever
|
|
464
|
+
*
|
|
465
|
+
* @generated from field: string delete_url = 3;
|
|
466
|
+
*/
|
|
467
|
+
deleteUrl: string;
|
|
468
|
+
/**
|
|
469
|
+
* Name of the bucket
|
|
470
|
+
*
|
|
471
|
+
* @generated from field: string bucket_name = 4;
|
|
472
|
+
*/
|
|
473
|
+
bucketName: string;
|
|
474
|
+
constructor(data?: PartialMessage<RegisterRetrieverToolRequest>);
|
|
475
|
+
static readonly runtime: typeof proto3;
|
|
476
|
+
static readonly typeName = "liquidmetal.v1alpha1.RegisterRetrieverToolRequest";
|
|
477
|
+
static readonly fields: FieldList;
|
|
478
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterRetrieverToolRequest;
|
|
479
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterRetrieverToolRequest;
|
|
480
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterRetrieverToolRequest;
|
|
481
|
+
static equals(a: RegisterRetrieverToolRequest | PlainMessage<RegisterRetrieverToolRequest> | undefined, b: RegisterRetrieverToolRequest | PlainMessage<RegisterRetrieverToolRequest> | undefined): boolean;
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
* RegisterRetrieverToolResponse confirms the registration status
|
|
485
|
+
* of the custom retriever tool.
|
|
486
|
+
*
|
|
487
|
+
* @generated from message liquidmetal.v1alpha1.RegisterRetrieverToolResponse
|
|
488
|
+
*/
|
|
489
|
+
export declare class RegisterRetrieverToolResponse extends Message<RegisterRetrieverToolResponse> {
|
|
490
|
+
/**
|
|
491
|
+
* Registration status message
|
|
492
|
+
*
|
|
493
|
+
* @generated from field: string message = 1;
|
|
494
|
+
*/
|
|
495
|
+
message: string;
|
|
496
|
+
constructor(data?: PartialMessage<RegisterRetrieverToolResponse>);
|
|
497
|
+
static readonly runtime: typeof proto3;
|
|
498
|
+
static readonly typeName = "liquidmetal.v1alpha1.RegisterRetrieverToolResponse";
|
|
499
|
+
static readonly fields: FieldList;
|
|
500
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterRetrieverToolResponse;
|
|
501
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterRetrieverToolResponse;
|
|
502
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterRetrieverToolResponse;
|
|
503
|
+
static equals(a: RegisterRetrieverToolResponse | PlainMessage<RegisterRetrieverToolResponse> | undefined, b: RegisterRetrieverToolResponse | PlainMessage<RegisterRetrieverToolResponse> | undefined): boolean;
|
|
504
|
+
}
|
|
505
|
+
//# sourceMappingURL=search_agent_pb.d.ts.map
|