elsium-ai 0.3.0 → 0.4.1
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/README.md +34 -19
- package/dist/index.js +870 -321
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -77,6 +77,8 @@ Every value and type listed below is available directly from `'elsium-ai'`.
|
|
|
77
77
|
| | `Registry` |
|
|
78
78
|
| | `ContextStrategy` |
|
|
79
79
|
| | `ContextManagerConfig` |
|
|
80
|
+
| | `StreamMiddleware` |
|
|
81
|
+
| | `StreamMiddlewareNext` |
|
|
80
82
|
| | `ContextManager` |
|
|
81
83
|
|
|
82
84
|
### `@elsium-ai/gateway`
|
|
@@ -86,6 +88,8 @@ Every value and type listed below is available directly from `'elsium-ai'`.
|
|
|
86
88
|
| `gateway` | `LLMProvider` |
|
|
87
89
|
| `registerProviderFactory` | `ProviderFactory` |
|
|
88
90
|
| `calculateCost` | `Gateway` |
|
|
91
|
+
| `estimateCost` | |
|
|
92
|
+
| `composeStreamMiddleware` | |
|
|
89
93
|
| `registerPricing` | `GatewayConfig` |
|
|
90
94
|
| `composeMiddleware` | `XRayStore` |
|
|
91
95
|
| `loggingMiddleware` | `ProviderMeshConfig` |
|
|
@@ -114,12 +118,15 @@ Every value and type listed below is available directly from `'elsium-ai'`.
|
|
|
114
118
|
| `runParallel` | `AgentConfig` |
|
|
115
119
|
| `runSupervisor` | `AgentResult` |
|
|
116
120
|
| `createMemory` | `AgentRunOptions` |
|
|
117
|
-
| `
|
|
118
|
-
| `
|
|
119
|
-
| `
|
|
120
|
-
| `
|
|
121
|
-
| `
|
|
122
|
-
| `
|
|
121
|
+
| `createSharedMemory` | `SharedMemory` |
|
|
122
|
+
| `createSemanticValidator` | `MultiAgentOptions` |
|
|
123
|
+
| `createAgentSecurity` | `GuardrailConfig` |
|
|
124
|
+
| `createConfidenceScorer` | `AgentHooks` |
|
|
125
|
+
| `executeStateMachine` | `Memory` |
|
|
126
|
+
| `createInMemoryMemoryStore` | `MemoryConfig` |
|
|
127
|
+
| `createSqliteMemoryStore` | `MemoryStore` |
|
|
128
|
+
| | `SqliteMemoryStoreConfig` |
|
|
129
|
+
| | `StateTransitionResult` |
|
|
123
130
|
| | `SemanticGuardrailConfig` |
|
|
124
131
|
| | `SemanticCheck` |
|
|
125
132
|
| | `SemanticCheckResult` |
|
|
@@ -153,15 +160,15 @@ Every value and type listed below is available directly from `'elsium-ai'`.
|
|
|
153
160
|
| `rag` | `RAGPipeline` |
|
|
154
161
|
| `createInMemoryStore` | `RAGPipelineConfig` |
|
|
155
162
|
| `createOpenAIEmbeddings` | `IngestResult` |
|
|
156
|
-
| `
|
|
157
|
-
| `
|
|
158
|
-
| `
|
|
159
|
-
| `
|
|
160
|
-
| | `QueryOptions` |
|
|
161
|
-
| | `EmbeddingProvider` |
|
|
162
|
-
| | `VectorStore` |
|
|
163
|
-
| | `VectorStoreFactory` |
|
|
164
|
-
| | `EmbeddingProviderFactory` |
|
|
163
|
+
| `createGoogleEmbeddings` | `Document` |
|
|
164
|
+
| `createCohereEmbeddings` | `Chunk` |
|
|
165
|
+
| `createMockEmbeddings` | `EmbeddedChunk` |
|
|
166
|
+
| `vectorStoreRegistry` | `RetrievalResult` |
|
|
167
|
+
| `embeddingProviderRegistry` | `QueryOptions` |
|
|
168
|
+
| `createPgVectorStore` | `EmbeddingProvider` |
|
|
169
|
+
| `createQdrantStore` | `VectorStore` |
|
|
170
|
+
| `createBM25Index` | `VectorStoreFactory` |
|
|
171
|
+
| `createHybridSearch` | `EmbeddingProviderFactory` |
|
|
165
172
|
| | `PgVectorStoreConfig` |
|
|
166
173
|
|
|
167
174
|
### `@elsium-ai/workflows`
|
|
@@ -171,10 +178,12 @@ Every value and type listed below is available directly from `'elsium-ai'`.
|
|
|
171
178
|
| `defineWorkflow` | `Workflow` |
|
|
172
179
|
| `defineParallelWorkflow` | `WorkflowConfig` |
|
|
173
180
|
| `defineBranchWorkflow` | `WorkflowResult` |
|
|
174
|
-
| `
|
|
175
|
-
| | `StepConfig` |
|
|
181
|
+
| `defineDagWorkflow` | `WorkflowRunOptions` |
|
|
182
|
+
| `step` | `StepConfig` |
|
|
176
183
|
| | `StepContext` |
|
|
177
184
|
| | `StepResult` |
|
|
185
|
+
| | `DagStepConfig` |
|
|
186
|
+
| | `DagWorkflowConfig` |
|
|
178
187
|
|
|
179
188
|
### `@elsium-ai/observe`
|
|
180
189
|
|
|
@@ -185,6 +194,9 @@ Every value and type listed below is available directly from `'elsium-ai'`.
|
|
|
185
194
|
| `createMetrics` | `TracerExporter` |
|
|
186
195
|
| `createCostEngine` | `CostReport` |
|
|
187
196
|
| `createExperiment` | `Span` |
|
|
197
|
+
| `instrumentComplete` | `ExperimentStore` |
|
|
198
|
+
| `instrumentAgent` | |
|
|
199
|
+
| `createFileExperimentStore` | |
|
|
188
200
|
| `toOTelSpan` | `SpanData` |
|
|
189
201
|
| `toOTelExportRequest` | `SpanKind` |
|
|
190
202
|
| `toTraceparent` | `SpanStatus` |
|
|
@@ -215,7 +227,7 @@ Every value and type listed below is available directly from `'elsium-ai'`.
|
|
|
215
227
|
| `streamResponse` | `AuthConfig` |
|
|
216
228
|
| `tenantMiddleware` | `RateLimitConfig` |
|
|
217
229
|
| `tenantRateLimitMiddleware` | `StreamChatEvent` |
|
|
218
|
-
| | `StreamCompleteEvent` |
|
|
230
|
+
| `tenantBudgetMiddleware` | `StreamCompleteEvent` |
|
|
219
231
|
| | `TenantMiddlewareConfig` |
|
|
220
232
|
|
|
221
233
|
### `@elsium-ai/mcp`
|
|
@@ -224,9 +236,12 @@ Every value and type listed below is available directly from `'elsium-ai'`.
|
|
|
224
236
|
|--------|-------|
|
|
225
237
|
| `createMCPClient` | `MCPClient` |
|
|
226
238
|
| `createMCPServer` | `MCPClientConfig` |
|
|
227
|
-
| | `MCPToolInfo` |
|
|
239
|
+
| `createMCPHttpHandler` | `MCPToolInfo` |
|
|
228
240
|
| | `MCPServer` |
|
|
229
241
|
| | `MCPServerConfig` |
|
|
242
|
+
| | `JsonRpcRequest` |
|
|
243
|
+
| | `JsonRpcResponse` |
|
|
244
|
+
| | `MCPTransport` |
|
|
230
245
|
|
|
231
246
|
### `@elsium-ai/client`
|
|
232
247
|
|