chore: update README.md with Firestore vector search fallback note, remove unused dependency from package.json

This commit is contained in:
David Snelling 2025-06-02 12:29:39 -07:00
parent c62f714ec5
commit 9a4f1ab1f6
2 changed files with 2 additions and 2 deletions

View file

@ -410,6 +410,7 @@ Brainy provides several memory augmentation implementations for different storag
2. **FileSystemStorageAugmentation**: File system storage (for Node.js environments)
3. **OPFSStorageAugmentation**: Origin Private File System storage (for browser environments)
4. **FirestoreStorageAugmentation**: Firestore database storage (requires Firebase)
- Note: The FirestoreStorageAugmentation includes vector search functionality that will automatically fall back to client-side search if the Firebase Extensions for Firestore Vector Search is not available.
You can use the `createMemoryAugmentation` factory function to automatically select the appropriate storage type based on the environment, or you can specify a particular storage type.

View file

@ -67,8 +67,7 @@
"@tensorflow/tfjs-core": "^4.22.0",
"@tensorflow/tfjs-layers": "^4.22.0",
"firebase": "^10.8.0",
"firebase-admin": "^12.0.0",
"@firebase/firestore-vector-search": "^0.1.0"
"firebase-admin": "^12.0.0"
},
"prettier": {
"arrowParens": "always",