@wiscale/velesdb-sdk 1.18.0 → 2.0.0
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 +110 -9
- package/dist/index.d.mts +170 -33
- package/dist/index.d.ts +170 -33
- package/dist/index.js +330 -51
- package/dist/index.mjs +330 -51
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -12,8 +12,15 @@ type StorageMode = 'full' | 'sq8' | 'binary' | 'pq' | 'rabitq';
|
|
|
12
12
|
type SearchQuality = 'fast' | 'balanced' | 'accurate' | 'perfect' | 'autotune' | `custom:${number}` | `adaptive:${number}:${number}`;
|
|
13
13
|
/** Backend type for VelesDB connection */
|
|
14
14
|
type BackendType = 'wasm' | 'rest';
|
|
15
|
-
/**
|
|
16
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Point ID accepted by the velesdb-server REST API (`u64`).
|
|
17
|
+
*
|
|
18
|
+
* Ids within the JS safe-integer range are numbers; decimal-string ids above
|
|
19
|
+
* `Number.MAX_SAFE_INTEGER` (2^53-1) stay verbatim strings so the full u64
|
|
20
|
+
* range survives the JavaScript boundary without precision loss (the server
|
|
21
|
+
* deserialises both forms since #1004).
|
|
22
|
+
*/
|
|
23
|
+
type RestPointId = number | string;
|
|
17
24
|
/** Configuration options for VelesDB client */
|
|
18
25
|
interface VelesDBConfig {
|
|
19
26
|
/** Backend type: 'wasm' for browser/Node.js, 'rest' for server */
|
|
@@ -563,6 +570,42 @@ interface DegreeResponse {
|
|
|
563
570
|
/** Number of outgoing edges */
|
|
564
571
|
outDegree: number;
|
|
565
572
|
}
|
|
573
|
+
/** Request body for POST /collections/{name}/relations */
|
|
574
|
+
interface RelateRequest {
|
|
575
|
+
/** Source point ID */
|
|
576
|
+
source: GraphNodeId;
|
|
577
|
+
/** Target point ID */
|
|
578
|
+
target: GraphNodeId;
|
|
579
|
+
/** Relationship type label (e.g. "KNOWS", "RELATED_TO") */
|
|
580
|
+
relType: string;
|
|
581
|
+
/** Optional edge properties */
|
|
582
|
+
properties?: Record<string, unknown>;
|
|
583
|
+
}
|
|
584
|
+
/** Response from POST /collections/{name}/relations */
|
|
585
|
+
interface RelateResponse {
|
|
586
|
+
/** Allocated edge ID */
|
|
587
|
+
edgeId: GraphNodeId;
|
|
588
|
+
}
|
|
589
|
+
/** A single outgoing relation edge */
|
|
590
|
+
interface RelationEdge {
|
|
591
|
+
/** Edge ID */
|
|
592
|
+
id: GraphNodeId;
|
|
593
|
+
/** Source point ID */
|
|
594
|
+
source: GraphNodeId;
|
|
595
|
+
/** Target point ID */
|
|
596
|
+
target: GraphNodeId;
|
|
597
|
+
/** Relationship type label */
|
|
598
|
+
relType: string;
|
|
599
|
+
/** Edge properties */
|
|
600
|
+
properties?: Record<string, unknown>;
|
|
601
|
+
}
|
|
602
|
+
/** Response from GET /collections/{name}/points/{id}/relations */
|
|
603
|
+
interface RelationsResponse {
|
|
604
|
+
/** Outgoing relation edges */
|
|
605
|
+
edges: RelationEdge[];
|
|
606
|
+
/** Total count */
|
|
607
|
+
count: number;
|
|
608
|
+
}
|
|
566
609
|
/** Schema mode for graph collections */
|
|
567
610
|
type GraphSchemaMode = 'schemaless' | 'strict';
|
|
568
611
|
/** Graph collection configuration */
|
|
@@ -583,8 +626,15 @@ interface GraphCollectionConfig {
|
|
|
583
626
|
*/
|
|
584
627
|
/** Semantic memory entry */
|
|
585
628
|
interface SemanticEntry {
|
|
586
|
-
/**
|
|
587
|
-
|
|
629
|
+
/**
|
|
630
|
+
* Unique fact ID.
|
|
631
|
+
*
|
|
632
|
+
* `string | number` is accepted as a convenience (a string must be a decimal
|
|
633
|
+
* integer). Ids must be non-negative integers within the JS safe-integer
|
|
634
|
+
* range (0..2^53-1): the REST wire transmits point ids as JSON numbers, so
|
|
635
|
+
* out-of-range ids are rejected (not silently truncated).
|
|
636
|
+
*/
|
|
637
|
+
id: string | number;
|
|
588
638
|
/** Fact text content */
|
|
589
639
|
text: string;
|
|
590
640
|
/** Embedding vector */
|
|
@@ -594,8 +644,24 @@ interface SemanticEntry {
|
|
|
594
644
|
}
|
|
595
645
|
/** Episodic memory event */
|
|
596
646
|
interface EpisodicEvent {
|
|
647
|
+
/**
|
|
648
|
+
* Optional caller-provided event ID. When omitted, a monotonic id is
|
|
649
|
+
* generated. `string | number` is accepted as a convenience; ids must be
|
|
650
|
+
* non-negative integers within the JS safe-integer range (0..2^53-1) because
|
|
651
|
+
* the REST wire transmits them as JSON numbers, and out-of-range ids are
|
|
652
|
+
* rejected (not silently truncated).
|
|
653
|
+
*/
|
|
654
|
+
id?: string | number;
|
|
597
655
|
/** Event type identifier */
|
|
598
656
|
eventType: string;
|
|
657
|
+
/**
|
|
658
|
+
* Event timestamp as a NUMERIC unix time in **seconds**.
|
|
659
|
+
*
|
|
660
|
+
* Mirrors the core episodic store, which persists a numeric `timestamp`
|
|
661
|
+
* that feeds `recent(since)` / `older_than(before)`. When omitted it
|
|
662
|
+
* defaults to the current unix-seconds value (`floor(Date.now() / 1000)`).
|
|
663
|
+
*/
|
|
664
|
+
timestamp?: number;
|
|
599
665
|
/** Event data */
|
|
600
666
|
data: Record<string, unknown>;
|
|
601
667
|
/** Embedding vector */
|
|
@@ -605,6 +671,14 @@ interface EpisodicEvent {
|
|
|
605
671
|
}
|
|
606
672
|
/** Procedural memory pattern */
|
|
607
673
|
interface ProceduralPattern {
|
|
674
|
+
/**
|
|
675
|
+
* Optional caller-provided pattern ID. When omitted, a monotonic id is
|
|
676
|
+
* generated. `string | number` is accepted as a convenience; ids must be
|
|
677
|
+
* non-negative integers within the JS safe-integer range (0..2^53-1) because
|
|
678
|
+
* the REST wire transmits them as JSON numbers, and out-of-range ids are
|
|
679
|
+
* rejected (not silently truncated).
|
|
680
|
+
*/
|
|
681
|
+
id?: string | number;
|
|
608
682
|
/** Procedure name */
|
|
609
683
|
name: string;
|
|
610
684
|
/** Ordered steps */
|
|
@@ -620,6 +694,15 @@ interface ProceduralPattern {
|
|
|
620
694
|
/** Optional metadata */
|
|
621
695
|
metadata?: Record<string, unknown>;
|
|
622
696
|
}
|
|
697
|
+
/** A single episodic event recalled by timestamp. */
|
|
698
|
+
interface EpisodicRecord {
|
|
699
|
+
/** Point id as a string (u64 precision preserved). */
|
|
700
|
+
id: string;
|
|
701
|
+
/** Numeric unix-seconds timestamp. */
|
|
702
|
+
timestamp: number;
|
|
703
|
+
/** Full point payload (includes `event_type`, caller data/metadata). */
|
|
704
|
+
payload: Record<string, unknown>;
|
|
705
|
+
}
|
|
623
706
|
/** Agent memory configuration */
|
|
624
707
|
interface AgentMemoryConfig {
|
|
625
708
|
/** Embedding dimension (default: 384) */
|
|
@@ -939,11 +1022,17 @@ declare const REST_CAPABILITIES: Readonly<CapabilityMap>;
|
|
|
939
1022
|
* Capability map for the WASM backend.
|
|
940
1023
|
*
|
|
941
1024
|
* The WASM build ships a focused subset: the dense / text / hybrid /
|
|
942
|
-
* multi-query search paths
|
|
943
|
-
*
|
|
944
|
-
*
|
|
945
|
-
*
|
|
946
|
-
*
|
|
1025
|
+
* multi-query search paths. Everything that relies on persistent
|
|
1026
|
+
* on-disk structures (secondary indexes, graph, streaming, PQ
|
|
1027
|
+
* training, agent memory, introspection, sparse inverted index) is
|
|
1028
|
+
* explicitly `false`. See `backends/wasm-stubs.ts` for the exact set
|
|
1029
|
+
* of `wasmNotSupported()` throw sites.
|
|
1030
|
+
*
|
|
1031
|
+
* `velesqlQuery` is `false`: `query()` only executes pure top-k NEAR
|
|
1032
|
+
* statements (`SELECT * FROM <collection> WHERE vector NEAR $param
|
|
1033
|
+
* [LIMIT n]`) and throws `NOT_SUPPORTED` for any other VelesQL clause
|
|
1034
|
+
* (WHERE predicates, JOIN, GROUP BY, MATCH, set operations, FUSION),
|
|
1035
|
+
* so full VelesQL is not advertised.
|
|
947
1036
|
*/
|
|
948
1037
|
declare const WASM_CAPABILITIES: Readonly<CapabilityMap>;
|
|
949
1038
|
|
|
@@ -1104,13 +1193,6 @@ interface StreamUpsertResponse {
|
|
|
1104
1193
|
networkErrors: number;
|
|
1105
1194
|
}
|
|
1106
1195
|
|
|
1107
|
-
/**
|
|
1108
|
-
* VelesDB TypeScript SDK - Backend Interface
|
|
1109
|
-
*
|
|
1110
|
-
* The `IVelesDBBackend` interface that all backends must implement.
|
|
1111
|
-
* @packageDocumentation
|
|
1112
|
-
*/
|
|
1113
|
-
|
|
1114
1196
|
/** Backend interface that all backends must implement */
|
|
1115
1197
|
interface IVelesDBBackend {
|
|
1116
1198
|
/** Initialize the backend */
|
|
@@ -1239,12 +1321,28 @@ interface IVelesDBBackend {
|
|
|
1239
1321
|
storeSemanticFact(collection: string, entry: SemanticEntry): Promise<void>;
|
|
1240
1322
|
/** Search semantic memory */
|
|
1241
1323
|
searchSemanticMemory(collection: string, embedding: number[], k?: number): Promise<SearchResult[]>;
|
|
1242
|
-
/**
|
|
1243
|
-
|
|
1244
|
-
|
|
1324
|
+
/**
|
|
1325
|
+
* Record an episodic event. Returns the point ID as a string (u64
|
|
1326
|
+
* precision preserved).
|
|
1327
|
+
*/
|
|
1328
|
+
recordEpisodicEvent(collection: string, event: EpisodicEvent): Promise<string>;
|
|
1329
|
+
/** Recall episodic events by vector similarity. */
|
|
1245
1330
|
recallEpisodicEvents(collection: string, embedding: number[], k?: number): Promise<SearchResult[]>;
|
|
1246
|
-
/**
|
|
1247
|
-
|
|
1331
|
+
/**
|
|
1332
|
+
* Recall episodic events most-recent-first, optionally bounded below by
|
|
1333
|
+
* `since` (inclusive unix-seconds). Mirrors core `episodic.recent(since)`.
|
|
1334
|
+
*/
|
|
1335
|
+
recallRecentEvents(collection: string, since?: number): Promise<EpisodicRecord[]>;
|
|
1336
|
+
/**
|
|
1337
|
+
* Recall episodic events strictly older than `before` (unix-seconds),
|
|
1338
|
+
* most-recent-first. Mirrors core `episodic.older_than(before)`.
|
|
1339
|
+
*/
|
|
1340
|
+
recallOlderThanEvents(collection: string, before: number): Promise<EpisodicRecord[]>;
|
|
1341
|
+
/**
|
|
1342
|
+
* Store a procedural pattern. Returns the point ID as a string (u64
|
|
1343
|
+
* precision preserved).
|
|
1344
|
+
*/
|
|
1345
|
+
storeProceduralPattern(collection: string, pattern: ProceduralPattern): Promise<string>;
|
|
1248
1346
|
/** Match procedural patterns */
|
|
1249
1347
|
matchProceduralPatterns(collection: string, embedding: number[], k?: number): Promise<SearchResult[]>;
|
|
1250
1348
|
/** Rebuild a collection's HNSW index (compacts tombstones). */
|
|
@@ -1271,6 +1369,14 @@ interface IVelesDBBackend {
|
|
|
1271
1369
|
upsertNodePayload(collection: string, nodeId: number, payload: Record<string, unknown>): Promise<void>;
|
|
1272
1370
|
/** Vector similarity search scoped to graph nodes only. */
|
|
1273
1371
|
graphSearch(collection: string, request: GraphSearchRequest): Promise<GraphSearchResponse>;
|
|
1372
|
+
/** Create a typed relation edge between two points. Returns the allocated edge ID. */
|
|
1373
|
+
relate(collection: string, req: RelateRequest): Promise<RelateResponse>;
|
|
1374
|
+
/** Remove a relation edge by ID. Returns `true` if removed. */
|
|
1375
|
+
unrelate(collection: string, edgeId: GraphNodeId): Promise<boolean>;
|
|
1376
|
+
/** List outgoing relation edges for a point. */
|
|
1377
|
+
getRelations(collection: string, pointId: GraphNodeId): Promise<RelationsResponse>;
|
|
1378
|
+
/** Durably set (or refresh) the TTL of a point. */
|
|
1379
|
+
setTtlDurable(collection: string, pointId: GraphNodeId, ttlSeconds: number): Promise<void>;
|
|
1274
1380
|
}
|
|
1275
1381
|
|
|
1276
1382
|
/**
|
|
@@ -1328,16 +1434,31 @@ declare class AgentMemoryClient {
|
|
|
1328
1434
|
storeFact(collection: string, entry: SemanticEntry): Promise<void>;
|
|
1329
1435
|
/** Search semantic memory */
|
|
1330
1436
|
searchFacts(collection: string, embedding: number[], k?: number): Promise<SearchResult[]>;
|
|
1331
|
-
/** Record an episodic event. Returns the
|
|
1332
|
-
recordEvent(collection: string, event: EpisodicEvent): Promise<
|
|
1333
|
-
/** Recall episodic events */
|
|
1437
|
+
/** Record an episodic event. Returns the point ID (string, u64-safe). */
|
|
1438
|
+
recordEvent(collection: string, event: EpisodicEvent): Promise<string>;
|
|
1439
|
+
/** Recall episodic events by vector similarity. */
|
|
1334
1440
|
recallEvents(collection: string, embedding: number[], k?: number): Promise<SearchResult[]>;
|
|
1335
|
-
/**
|
|
1336
|
-
|
|
1441
|
+
/**
|
|
1442
|
+
* Recall episodic events most-recent-first, optionally bounded below by
|
|
1443
|
+
* `since` (inclusive unix-seconds). Mirrors core `episodic.recent(since)`.
|
|
1444
|
+
*/
|
|
1445
|
+
recallRecent(collection: string, since?: number): Promise<EpisodicRecord[]>;
|
|
1446
|
+
/**
|
|
1447
|
+
* Recall episodic events strictly older than `before` (unix-seconds),
|
|
1448
|
+
* most-recent-first. Mirrors core `episodic.older_than(before)`.
|
|
1449
|
+
*/
|
|
1450
|
+
recallOlderThan(collection: string, before: number): Promise<EpisodicRecord[]>;
|
|
1451
|
+
/** Store a procedural pattern. Returns the point ID (string, u64-safe). */
|
|
1452
|
+
learnProcedure(collection: string, pattern: ProceduralPattern): Promise<string>;
|
|
1337
1453
|
/** Match procedural patterns */
|
|
1338
1454
|
recallProcedures(collection: string, embedding: number[], k?: number): Promise<SearchResult[]>;
|
|
1339
|
-
/**
|
|
1340
|
-
|
|
1455
|
+
/**
|
|
1456
|
+
* Delete a memory entry (fact, event, or procedure) by its point ID.
|
|
1457
|
+
*
|
|
1458
|
+
* Accepts the `string` ids returned by `recordEvent` / `learnProcedure`
|
|
1459
|
+
* (u64-safe decimal strings) as well as numeric ids.
|
|
1460
|
+
*/
|
|
1461
|
+
deleteMemory(collection: string, id: string | number): Promise<boolean>;
|
|
1341
1462
|
}
|
|
1342
1463
|
|
|
1343
1464
|
/**
|
|
@@ -1436,6 +1557,10 @@ declare class VelesDB {
|
|
|
1436
1557
|
getNodePayload(collection: string, nodeId: number): Promise<NodePayloadResponse>;
|
|
1437
1558
|
upsertNodePayload(collection: string, nodeId: number, payload: Record<string, unknown>): Promise<void>;
|
|
1438
1559
|
graphSearch(collection: string, request: GraphSearchRequest): Promise<GraphSearchResponse>;
|
|
1560
|
+
relate(collection: string, req: RelateRequest): Promise<RelateResponse>;
|
|
1561
|
+
unrelate(collection: string, edgeId: GraphNodeId): Promise<boolean>;
|
|
1562
|
+
getRelations(collection: string, pointId: GraphNodeId): Promise<RelationsResponse>;
|
|
1563
|
+
setTtlDurable(collection: string, pointId: GraphNodeId, ttlSeconds: number): Promise<void>;
|
|
1439
1564
|
capabilities(): Readonly<CapabilityMap>;
|
|
1440
1565
|
get backendType(): string;
|
|
1441
1566
|
agentMemory(config?: AgentMemoryConfig): AgentMemoryClient;
|
|
@@ -1514,9 +1639,11 @@ declare class WasmBackend implements IVelesDBBackend {
|
|
|
1514
1639
|
}>>;
|
|
1515
1640
|
storeSemanticFact(c: string, e: SemanticEntry): Promise<void>;
|
|
1516
1641
|
searchSemanticMemory(c: string, e: number[], k?: number): Promise<SearchResult[]>;
|
|
1517
|
-
recordEpisodicEvent(c: string, e: EpisodicEvent): Promise<
|
|
1642
|
+
recordEpisodicEvent(c: string, e: EpisodicEvent): Promise<string>;
|
|
1518
1643
|
recallEpisodicEvents(c: string, e: number[], k?: number): Promise<SearchResult[]>;
|
|
1519
|
-
|
|
1644
|
+
recallRecentEvents(c: string, since?: number): Promise<EpisodicRecord[]>;
|
|
1645
|
+
recallOlderThanEvents(c: string, before: number): Promise<EpisodicRecord[]>;
|
|
1646
|
+
storeProceduralPattern(c: string, p: ProceduralPattern): Promise<string>;
|
|
1520
1647
|
matchProceduralPatterns(c: string, e: number[], k?: number): Promise<SearchResult[]>;
|
|
1521
1648
|
rebuildIndex(c: string): Promise<RebuildIndexResponse>;
|
|
1522
1649
|
getGuardrails(): Promise<GuardRailsConfigResponse>;
|
|
@@ -1531,6 +1658,10 @@ declare class WasmBackend implements IVelesDBBackend {
|
|
|
1531
1658
|
upsertNodePayload(c: string, id: number, p: Record<string, unknown>): Promise<void>;
|
|
1532
1659
|
graphSearch(c: string, r: GraphSearchRequest): Promise<GraphSearchResponse>;
|
|
1533
1660
|
sparseSearchNamed(c: string, q: SparseVector, idx: string, o?: SparseSearchNamedOptions): Promise<SearchResult[]>;
|
|
1661
|
+
relate(c: string, req: RelateRequest): Promise<RelateResponse>;
|
|
1662
|
+
unrelate(c: string, edgeId: GraphNodeId): Promise<boolean>;
|
|
1663
|
+
getRelations(c: string, pointId: GraphNodeId): Promise<RelationsResponse>;
|
|
1664
|
+
setTtlDurable(c: string, pointId: GraphNodeId, ttlSeconds: number): Promise<void>;
|
|
1534
1665
|
}
|
|
1535
1666
|
|
|
1536
1667
|
/**
|
|
@@ -1569,6 +1700,10 @@ declare class RestBackend implements IVelesDBBackend {
|
|
|
1569
1700
|
getNodePayload(c: string, id: number): Promise<NodePayloadResponse>;
|
|
1570
1701
|
upsertNodePayload(c: string, id: number, p: Record<string, unknown>): Promise<void>;
|
|
1571
1702
|
graphSearch(c: string, r: GraphSearchRequest): Promise<GraphSearchResponse>;
|
|
1703
|
+
relate(c: string, req: RelateRequest): Promise<RelateResponse>;
|
|
1704
|
+
unrelate(c: string, edgeId: GraphNodeId): Promise<boolean>;
|
|
1705
|
+
getRelations(c: string, pointId: GraphNodeId): Promise<RelationsResponse>;
|
|
1706
|
+
setTtlDurable(c: string, pointId: GraphNodeId, ttlSeconds: number): Promise<void>;
|
|
1572
1707
|
search(c: string, q: number[] | Float32Array, o?: SearchOptions): Promise<SearchResult[]>;
|
|
1573
1708
|
searchBatch(c: string, s: Array<{
|
|
1574
1709
|
vector: number[] | Float32Array;
|
|
@@ -1615,9 +1750,11 @@ declare class RestBackend implements IVelesDBBackend {
|
|
|
1615
1750
|
streamUpsertPoints(c: string, d: VectorDocument[]): Promise<StreamUpsertResponse>;
|
|
1616
1751
|
storeSemanticFact(c: string, e: SemanticEntry): Promise<void>;
|
|
1617
1752
|
searchSemanticMemory(c: string, e: number[], k?: number): Promise<SearchResult[]>;
|
|
1618
|
-
recordEpisodicEvent(c: string, e: EpisodicEvent): Promise<
|
|
1753
|
+
recordEpisodicEvent(c: string, e: EpisodicEvent): Promise<string>;
|
|
1619
1754
|
recallEpisodicEvents(c: string, e: number[], k?: number): Promise<SearchResult[]>;
|
|
1620
|
-
|
|
1755
|
+
recallRecentEvents(c: string, since?: number): Promise<EpisodicRecord[]>;
|
|
1756
|
+
recallOlderThanEvents(c: string, before: number): Promise<EpisodicRecord[]>;
|
|
1757
|
+
storeProceduralPattern(c: string, p: ProceduralPattern): Promise<string>;
|
|
1621
1758
|
matchProceduralPatterns(c: string, e: number[], k?: number): Promise<SearchResult[]>;
|
|
1622
1759
|
}
|
|
1623
1760
|
|
|
@@ -2109,4 +2246,4 @@ declare class OpenAIEmbedder implements Embedder {
|
|
|
2109
2246
|
embed(texts: string[]): Promise<number[][]>;
|
|
2110
2247
|
}
|
|
2111
2248
|
|
|
2112
|
-
export { type ActualStats, type AddEdgeRequest, AgentMemoryClient, type AgentMemoryConfig, type AggregateQueryOptions, type AggregateResponse, type AggregationQueryResponse, AllocationFailedError, type AsyncIndexBuilderOptions, type BackendType, BackpressureError, type CapabilityMap, type Collection, type CollectionConfig, type CollectionConfigResponse, CollectionExistsError, CollectionNotFoundError, type CollectionSanityChecks, type CollectionSanityDiagnostics, type CollectionSanityResponse, type CollectionStatsResponse, type CollectionType, type ColumnStatsDetail, ColumnStoreError, type CompareOp, type Condition, ConfigError, ConnectionError, type CreateIndexOptions, DatabaseLockedError, type DeferredIndexerOptions, type DegreeResponse, DimensionMismatchError, type DistanceMetric, EdgeExistsError, EdgeNotFoundError, type EdgesResponse, type Embedder, type EpisodicEvent, EpochMismatchError, type ExplainCost, type ExplainFeatures, type ExplainPlanStep, type ExplainResponse, type Filter, type FilterInput, type FusionOptions, type FusionStrategy, type GetEdgesOptions, type GetNodeEdgesOptions, GpuError, type GraphCollectionConfig, type GraphEdge, type GraphNodeId, GraphNotSupportedError, type GraphSchemaMode, type GraphSearchRequest, type GraphSearchResponse, type GraphSearchResultItem, GuardRailError, type GuardRailsConfigResponse, type GuardRailsUpdateRequest, type HnswParams, type IVelesDBBackend, IncompatibleSchemaVersionError, IndexCorruptedError, IndexError, type IndexInfo, type IndexType, InternalError, InvalidCollectionNameError, InvalidDimensionError, InvalidEdgeLabelError, InvalidQuantizerConfigError, InvalidVectorError, IoError, type JsonValue, type ListNodesResponse, type MatchQueryOptions, type MatchQueryResponse, type MatchQueryResultItem, type MultiQuerySearchOptions, type NearVectorOptions, NodeNotFoundError, type NodePayloadResponse, type NodeStats, NotFoundError, OpenAIEmbedder, type OpenAIEmbedderOptions, OverflowError, PointNotFoundError, type PqTrainOptions, type ProceduralPattern, type QueryApiResponse, QueryError, type QueryOptions, type QueryResponse, type QueryResult, type QueryStats, REST_CAPABILITIES, type RebuildIndexResponse, type RelDirection, type RelOptions, RestBackend, type RestPointId, SchemaValidationError, type ScrollRequest, type ScrollResponse, SearchNotSupportedError, type SearchOptions, type SearchQuality, type SearchQualityWire, type SearchResult, type SemanticEntry, SerializationError, SnapshotBuildFailedError, SparseIndexError, type SparseSearchNamedOptions, type SparseVector, StorageError, type StorageMode, type StreamUpsertResponse, TrainingFailedError, type TraversalResultItem, type TraversalStats, type TraverseParallelRequest, type TraverseRequest, type TraverseResponse, VELES_ERROR_CODES, ValidationError, type VectorDocument, VectorNotAllowedError, VectorRequiredError, VelesDB, type VelesDBConfig, VelesDBError, VelesError, type VelesErrorCode, VelesQLBuilder, WASM_CAPABILITIES, WasmBackend, f, isTypedFilter, normalizeFilter, parseVelesError, searchQualityToMode, velesql };
|
|
2249
|
+
export { type ActualStats, type AddEdgeRequest, AgentMemoryClient, type AgentMemoryConfig, type AggregateQueryOptions, type AggregateResponse, type AggregationQueryResponse, AllocationFailedError, type AsyncIndexBuilderOptions, type BackendType, BackpressureError, type CapabilityMap, type Collection, type CollectionConfig, type CollectionConfigResponse, CollectionExistsError, CollectionNotFoundError, type CollectionSanityChecks, type CollectionSanityDiagnostics, type CollectionSanityResponse, type CollectionStatsResponse, type CollectionType, type ColumnStatsDetail, ColumnStoreError, type CompareOp, type Condition, ConfigError, ConnectionError, type CreateIndexOptions, DatabaseLockedError, type DeferredIndexerOptions, type DegreeResponse, DimensionMismatchError, type DistanceMetric, EdgeExistsError, EdgeNotFoundError, type EdgesResponse, type Embedder, type EpisodicEvent, type EpisodicRecord, EpochMismatchError, type ExplainCost, type ExplainFeatures, type ExplainPlanStep, type ExplainResponse, type Filter, type FilterInput, type FusionOptions, type FusionStrategy, type GetEdgesOptions, type GetNodeEdgesOptions, GpuError, type GraphCollectionConfig, type GraphEdge, type GraphNodeId, GraphNotSupportedError, type GraphSchemaMode, type GraphSearchRequest, type GraphSearchResponse, type GraphSearchResultItem, GuardRailError, type GuardRailsConfigResponse, type GuardRailsUpdateRequest, type HnswParams, type IVelesDBBackend, IncompatibleSchemaVersionError, IndexCorruptedError, IndexError, type IndexInfo, type IndexType, InternalError, InvalidCollectionNameError, InvalidDimensionError, InvalidEdgeLabelError, InvalidQuantizerConfigError, InvalidVectorError, IoError, type JsonValue, type ListNodesResponse, type MatchQueryOptions, type MatchQueryResponse, type MatchQueryResultItem, type MultiQuerySearchOptions, type NearVectorOptions, NodeNotFoundError, type NodePayloadResponse, type NodeStats, NotFoundError, OpenAIEmbedder, type OpenAIEmbedderOptions, OverflowError, PointNotFoundError, type PqTrainOptions, type ProceduralPattern, type QueryApiResponse, QueryError, type QueryOptions, type QueryResponse, type QueryResult, type QueryStats, REST_CAPABILITIES, type RebuildIndexResponse, type RelDirection, type RelOptions, type RelateRequest, type RelateResponse, type RelationEdge, type RelationsResponse, RestBackend, type RestPointId, SchemaValidationError, type ScrollRequest, type ScrollResponse, SearchNotSupportedError, type SearchOptions, type SearchQuality, type SearchQualityWire, type SearchResult, type SemanticEntry, SerializationError, SnapshotBuildFailedError, SparseIndexError, type SparseSearchNamedOptions, type SparseVector, StorageError, type StorageMode, type StreamUpsertResponse, TrainingFailedError, type TraversalResultItem, type TraversalStats, type TraverseParallelRequest, type TraverseRequest, type TraverseResponse, VELES_ERROR_CODES, ValidationError, type VectorDocument, VectorNotAllowedError, VectorRequiredError, VelesDB, type VelesDBConfig, VelesDBError, VelesError, type VelesErrorCode, VelesQLBuilder, WASM_CAPABILITIES, WasmBackend, f, isTypedFilter, normalizeFilter, parseVelesError, searchQualityToMode, velesql };
|