This commit is contained in:
Manav Rathi
2024-07-02 13:32:10 +05:30
parent 658a258ddc
commit 369ff7833c
2 changed files with 3 additions and 3 deletions

View File

@@ -5,9 +5,9 @@ import log from "@/next/log";
import { apiURL } from "@/next/origins";
import { z } from "zod";
import { decryptFileMetadata } from "../../common/crypto/ente";
import { saveFaceIndex } from "./face/db";
import { faceIndexingVersion, type FaceIndex } from "./face/types";
import { getAllLocalFiles } from "./files";
import { saveFaceIndex } from "./ml/db";
import { faceIndexingVersion, type FaceIndex } from "./ml/types";
/**
* The embeddings that we (the current client) knows how to handle.

View File

@@ -11,7 +11,7 @@ export const faceIndexingVersion = 1;
* - Local face detections and embeddings (collectively called as the face
* index) are generated by the current client when uploading a file (or when
* noticing a file which doesn't yet have a face index), stored in the local
* IndexedDB ("face/db") and also uploaded (E2EE) to remote.
* IndexedDB ("ml/db") and also uploaded (E2EE) to remote.
*
* - Remote embeddings are fetched by subsequent clients to avoid them having to
* reindex (indexing faces is a costly operation, esp for mobile clients).