@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,176 @@
|
|
|
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
|
+
|
|
6
|
+
import { CreatePageSummaryRequest, CreatePageSummaryResponse, DocumentChatRequest, DocumentChatResponse, GetPaginatedResultsRequest, GetPaginatedResultsResponse, RagSearchRequest, RagSearchResponse, RegisterRetrieverToolRequest, RegisterRetrieverToolResponse, RunSupervisorAgentRequest, RunSupervisorAgentResponse } from "./search_agent_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* SearchAgentService provides the core functionality for Smart Buckets - Raindrop's intelligent
|
|
11
|
+
* object storage service designed specifically for AI applications. When files are uploaded
|
|
12
|
+
* to a Smart Bucket, they undergo advanced AI decomposition that analyzes and indexes content
|
|
13
|
+
* using state-of-the-art AI models. This includes:
|
|
14
|
+
*
|
|
15
|
+
* - Automated document indexing and processing
|
|
16
|
+
* - Extraction of structured data
|
|
17
|
+
* - Processing through specialized AI models
|
|
18
|
+
* - Storage in optimized formats for AI querying
|
|
19
|
+
* - Automatic PII detection and classification
|
|
20
|
+
*
|
|
21
|
+
* The service supports multiple file types including:
|
|
22
|
+
* - application/pdf
|
|
23
|
+
* - image/jpeg, image/png
|
|
24
|
+
* - audio/webm, audio/wav, audio/mp4, audio/mpeg
|
|
25
|
+
* - text/plain
|
|
26
|
+
*
|
|
27
|
+
* @generated from service liquidmetal.v1alpha1.SearchAgentService
|
|
28
|
+
*/
|
|
29
|
+
export const SearchAgentService = {
|
|
30
|
+
typeName: "liquidmetal.v1alpha1.SearchAgentService",
|
|
31
|
+
methods: {
|
|
32
|
+
/**
|
|
33
|
+
* DocumentChat enables natural conversational interactions with documents stored in Smart Buckets.
|
|
34
|
+
* This creates an intelligent interface for document exploration through natural dialogue, allowing
|
|
35
|
+
* users to ask questions, request summaries, and extract insights from any supported document type.
|
|
36
|
+
*
|
|
37
|
+
* The chat system maintains conversation context, enabling follow-up questions and deep exploration
|
|
38
|
+
* of document content. It works across all supported file types and automatically handles multi-page
|
|
39
|
+
* documents, making complex document interaction as simple as having a conversation.
|
|
40
|
+
*
|
|
41
|
+
* The system will:
|
|
42
|
+
* - Maintain conversation history for context
|
|
43
|
+
* - Process questions against document content
|
|
44
|
+
* - Generate contextual, relevant responses
|
|
45
|
+
* - Handle document references and citations
|
|
46
|
+
* - Support multi-turn conversations about document content
|
|
47
|
+
*
|
|
48
|
+
* @generated from rpc liquidmetal.v1alpha1.SearchAgentService.DocumentChat
|
|
49
|
+
*/
|
|
50
|
+
documentChat: {
|
|
51
|
+
name: "DocumentChat",
|
|
52
|
+
I: DocumentChatRequest,
|
|
53
|
+
O: DocumentChatResponse,
|
|
54
|
+
kind: MethodKind.Unary,
|
|
55
|
+
},
|
|
56
|
+
/**
|
|
57
|
+
* RagSearch (Retrieval-Augmented Generation) provides an advanced search capability that serves
|
|
58
|
+
* as a complete drop-in replacement for traditional RAG pipelines. This system enables AI agents
|
|
59
|
+
* to leverage private data stored in Smart Buckets with zero additional configuration.
|
|
60
|
+
*
|
|
61
|
+
* The RAG system automatically:
|
|
62
|
+
* - Processes and indexes uploaded content
|
|
63
|
+
* - Maintains optimal chunk sizes (max 450 tokens)
|
|
64
|
+
* - Handles document metadata
|
|
65
|
+
* - Provides relevance scoring
|
|
66
|
+
* - Manages document versioning
|
|
67
|
+
*
|
|
68
|
+
* This creates a foundation for:
|
|
69
|
+
* - Training AI models with private data
|
|
70
|
+
* - Building intelligent knowledge bases
|
|
71
|
+
* - Creating context-aware chatbots
|
|
72
|
+
* - Implementing semantic search systems
|
|
73
|
+
*
|
|
74
|
+
* @generated from rpc liquidmetal.v1alpha1.SearchAgentService.RagSearch
|
|
75
|
+
*/
|
|
76
|
+
ragSearch: {
|
|
77
|
+
name: "RagSearch",
|
|
78
|
+
I: RagSearchRequest,
|
|
79
|
+
O: RagSearchResponse,
|
|
80
|
+
kind: MethodKind.Unary,
|
|
81
|
+
},
|
|
82
|
+
/**
|
|
83
|
+
* CreatePageSummary generates intelligent summaries of search result pages, helping users
|
|
84
|
+
* quickly understand large result sets without reading through every document. The system
|
|
85
|
+
* analyzes the content of all results on a given page and generates a comprehensive overview.
|
|
86
|
+
*
|
|
87
|
+
* The summary system:
|
|
88
|
+
* - Identifies key themes and topics
|
|
89
|
+
* - Extracts important findings
|
|
90
|
+
* - Highlights document relationships
|
|
91
|
+
* - Provides content type distribution
|
|
92
|
+
* - Summarizes metadata patterns
|
|
93
|
+
*
|
|
94
|
+
* This is particularly valuable when dealing with:
|
|
95
|
+
* - Large document collections
|
|
96
|
+
* - Mixed content types
|
|
97
|
+
* - Technical documentation
|
|
98
|
+
* - Research materials
|
|
99
|
+
*
|
|
100
|
+
* @generated from rpc liquidmetal.v1alpha1.SearchAgentService.CreatePageSummary
|
|
101
|
+
*/
|
|
102
|
+
createPageSummary: {
|
|
103
|
+
name: "CreatePageSummary",
|
|
104
|
+
I: CreatePageSummaryRequest,
|
|
105
|
+
O: CreatePageSummaryResponse,
|
|
106
|
+
kind: MethodKind.Unary,
|
|
107
|
+
},
|
|
108
|
+
/**
|
|
109
|
+
* RunSupervisorAgent is the primary search interface for Smart Buckets, providing
|
|
110
|
+
* advanced semantic search capabilities that go far beyond traditional keyword matching.
|
|
111
|
+
* The supervisor agent orchestrates multiple specialized search strategies to provide
|
|
112
|
+
* comprehensive, intelligent results.
|
|
113
|
+
*
|
|
114
|
+
* The system supports complex queries like:
|
|
115
|
+
* - "Show me documents containing credit card numbers or social security numbers"
|
|
116
|
+
* - "Find images of landscapes taken during sunset"
|
|
117
|
+
* - "Get documents mentioning revenue forecasts from Q4 2023"
|
|
118
|
+
* - "Find me all PDF documents that contain pictures of a cat"
|
|
119
|
+
*
|
|
120
|
+
* Key capabilities:
|
|
121
|
+
* - Natural language query understanding
|
|
122
|
+
* - Content-based search across text and images
|
|
123
|
+
* - Automatic PII detection and filtering
|
|
124
|
+
* - Cross-document relationship analysis
|
|
125
|
+
* - Multi-modal search (text, images, audio)
|
|
126
|
+
*
|
|
127
|
+
* @generated from rpc liquidmetal.v1alpha1.SearchAgentService.RunSupervisorAgent
|
|
128
|
+
*/
|
|
129
|
+
runSupervisorAgent: {
|
|
130
|
+
name: "RunSupervisorAgent",
|
|
131
|
+
I: RunSupervisorAgentRequest,
|
|
132
|
+
O: RunSupervisorAgentResponse,
|
|
133
|
+
kind: MethodKind.Unary,
|
|
134
|
+
},
|
|
135
|
+
/**
|
|
136
|
+
* GetPaginatedResults enables efficient navigation through large result sets while
|
|
137
|
+
* maintaining search context and result relevance. This method is optimized for
|
|
138
|
+
* handling large document collections and implementing modern UI patterns.
|
|
139
|
+
*
|
|
140
|
+
* Features:
|
|
141
|
+
* - Consistent result ordering
|
|
142
|
+
* - Configurable page sizes
|
|
143
|
+
* - Efficient result caching
|
|
144
|
+
* - Cursor-based pagination
|
|
145
|
+
* - Support for infinite scroll
|
|
146
|
+
*
|
|
147
|
+
* @generated from rpc liquidmetal.v1alpha1.SearchAgentService.GetPaginatedResults
|
|
148
|
+
*/
|
|
149
|
+
getPaginatedResults: {
|
|
150
|
+
name: "GetPaginatedResults",
|
|
151
|
+
I: GetPaginatedResultsRequest,
|
|
152
|
+
O: GetPaginatedResultsResponse,
|
|
153
|
+
kind: MethodKind.Unary,
|
|
154
|
+
},
|
|
155
|
+
/**
|
|
156
|
+
* RegisterRetrieverTool allows extending Smart Bucket capabilities with custom
|
|
157
|
+
* retrieval implementations. This enables specialized search algorithms and
|
|
158
|
+
* custom processing pipelines for specific use cases or data types.
|
|
159
|
+
*
|
|
160
|
+
* Use cases include:
|
|
161
|
+
* - Custom search implementations
|
|
162
|
+
* - Specialized retrieval algorithms
|
|
163
|
+
* - Domain-specific optimizations
|
|
164
|
+
* - Integration with existing systems
|
|
165
|
+
*
|
|
166
|
+
* @generated from rpc liquidmetal.v1alpha1.SearchAgentService.RegisterRetrieverTool
|
|
167
|
+
*/
|
|
168
|
+
registerRetrieverTool: {
|
|
169
|
+
name: "RegisterRetrieverTool",
|
|
170
|
+
I: RegisterRetrieverToolRequest,
|
|
171
|
+
O: RegisterRetrieverToolResponse,
|
|
172
|
+
kind: MethodKind.Unary,
|
|
173
|
+
},
|
|
174
|
+
}
|
|
175
|
+
} as const;
|
|
176
|
+
|