- Fixed verb retrieval to include vector field from HNSWVerb - Properly merge HNSWVerb data with metadata to create complete GraphVerb - Skip verbs without metadata instead of returning incomplete objects - Fix field mapping for sourceId/targetId and source/target - Properly handle connections Map deserialization - Fix filter logic to check correct fields This fixes the issue where brain.getVerbs() returned empty array even after successfully adding verbs. The problem was that verbs are stored as HNSWVerb + metadata separately but weren't being properly reconstructed when retrieved. |
||
|---|---|---|
| .. | ||
| adapters | ||
| backwardCompatibility.ts | ||
| baseStorage.ts | ||
| cacheManager.ts | ||
| enhancedCacheManager.ts | ||
| enhancedClearOperations.ts | ||
| readOnlyOptimizations.ts | ||
| storageFactory.ts | ||