Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

added electron APIs for clipEmbedding extraction

Abhinav4f5d19de77f2
diff --git a/apps/photos/src/types/electron/index.ts b/apps/photos/src/types/electron/index.ts
index fcb92901e9..868f53ed20 100644
--- a/apps/photos/src/types/electron/index.ts
+++ b/apps/photos/src/types/electron/index.ts
@@ -94,4 +94,6 @@ export interface ElectronAPIs {
deleteFile: (path: string) => void;
rename: (oldPath: string, newPath: string) => Promise<void>;
updateOptOutOfCrashReports: (optOut: boolean) => Promise<void>;
+ computeImageEmbedding: (imageData: Uint8Array) => Promise<Float32Array>;
+ computeTextEmbedding: (text: string) => Promise<Float32Array>;
}