Browse Source

Disable embedding push

vishnukvmd 1 year ago
parent
commit
14acf95a15
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib/services/semantic_search/embedding_store.dart

+ 2 - 0
lib/services/semantic_search/embedding_store.dart

@@ -68,6 +68,8 @@ class EmbeddingStore {
   }
 
   Future<void> _pushEmbedding(EnteFile file, Embedding embedding) async {
+    // TODO: Remove early return
+    return;
     final encryptionKey = getFileKey(file);
     final embeddingJSON = jsonEncode(embedding.embedding);
     final encryptedEmbedding = await CryptoUtil.encryptChaCha(