Commit graph

7781 commits

Author SHA1 Message Date
vishnukvmd fb07b954a5 Simplify how low quality results are filtered out 2023-10-28 16:25:06 +05:30
vishnukvmd e6c5bf0bbe Update method name 2023-10-28 16:23:48 +05:30
vishnukvmd 1a01fbd5d9 Index the latest item first 2023-10-28 16:15:42 +05:30
vishnukvmd 4c593e097a Clear the queue when indexing is disabled 2023-10-28 16:15:10 +05:30
vishnukvmd 89e7606d7a Update score threshold 2023-10-27 13:04:31 +05:30
vishnukvmd c0b1667962 Return empty results if magic search hasn't been enabled 2023-10-27 13:04:31 +05:30
vishnukvmd b7e434c5ec Disable semantic search on iOS 2023-10-27 13:04:31 +05:30
vishnukvmd 2827bf238a Ignore if embedding lengths don't match 2023-10-27 13:04:31 +05:30
vishnukvmd e36ec7cc94 Use ChaCha to encrypt embeddings 2023-10-27 13:04:31 +05:30
vishnukvmd 54a78555d8 Deal with JSONified strings instead of FloatArray buffers 2023-10-27 13:04:31 +05:30
vishnukvmd 7b93ff3bce Drop embeddings table on logout 2023-10-27 13:04:31 +05:30
vishnukvmd 6acb2951b9 Remove batching 2023-10-27 13:04:31 +05:30
vishnukvmd 16951b75be Remove debug statement 2023-10-27 13:04:30 +05:30
vishnukvmd 5b86080910 Minor refactor 2023-10-27 13:04:30 +05:30
vishnukvmd d25938aeac Pull model from remote 2023-10-27 13:04:30 +05:30
vishnukvmd 3dda5af52a Fix issue with the ordering of fetched embeddings 2023-10-27 13:04:30 +05:30
vishnukvmd 86c0cfb306 Remove debug code 2023-10-27 13:04:30 +05:30
vishnukvmd 6f251a80a2 Load models in a separate isolate 2023-10-27 13:04:30 +05:30
vishnukvmd 638ff0547e Update dependency on clip_ggml 2023-10-27 13:04:30 +05:30
vishnukvmd 720ac428db Fix attribute name for remote embeddings 2023-10-27 13:04:30 +05:30
vishnukvmd ce1d6c0805 Ignore items not owned by the user 2023-10-27 13:04:30 +05:30
vishnukvmd 53fa9c6830 Load models separately 2023-10-27 13:04:29 +05:30
vishnukvmd a2f66f1e4e Switch to using uploaded IDs 2023-10-27 13:04:29 +05:30
vishnukvmd 4ea80d391b Display index status within the UI 2023-10-27 13:04:29 +05:30
vishnukvmd 804178e03d Fire an event once a files are indexed 2023-10-27 13:04:29 +05:30
vishnukvmd 43945a495d Ignore diffSynced event within the status bar 2023-10-27 13:04:29 +05:30
vishnukvmd 4be018d7da Add event to be fired when a file is indexed 2023-10-27 13:04:29 +05:30
vishnukvmd ce03a68a32 Update query to fetch files to be indexed 2023-10-27 13:04:29 +05:30
vishnukvmd eb0bd4516b Minor fixes 2023-10-27 13:04:29 +05:30
vishnukvmd 30139f1b97 Add setting to enable Magic Search 2023-10-27 13:04:29 +05:30
vishnukvmd 1e5cefeffa Reorder advanced section 2023-10-27 13:04:29 +05:30
vishnukvmd baee39438d Push pending embeddings to remote on app start 2023-10-27 13:04:29 +05:30
vishnukvmd e6b3023079 Make updation time optional 2023-10-27 13:04:29 +05:30
vishnukvmd 9163cbf26d Compute embedding whenever a file is uploaded 2023-10-27 13:04:28 +05:30
vishnukvmd 5ee2ab14f2 Use a queue to backfill 2023-10-27 13:04:28 +05:30
vishnukvmd f112fdd06e Minor refactor 2023-10-27 13:04:28 +05:30
vishnukvmd 4dcd9a8f68 Minor refactor 2023-10-27 13:04:28 +05:30
vishnukvmd 3411d250a7 Push computed embeddings upstream 2023-10-27 13:04:28 +05:30
vishnukvmd 57df32762a Persist the last sync time 2023-10-27 13:04:28 +05:30
vishnukvmd fea2057c85 Add API to push embeddings to remote 2023-10-27 13:04:28 +05:30
vishnukvmd 4ecf4bcf87 Remove direct dependency on Sodium to make reviews easier 2023-10-27 13:04:28 +05:30
vishnukvmd 01b155a172 Persist fetched embeddings 2023-10-27 13:04:28 +05:30
vishnukvmd 44be4ec7c1 Update local DB schema 2023-10-27 13:04:28 +05:30
vishnukvmd c21867cdc6 Fetch embeddings until server has no more 2023-10-27 13:04:28 +05:30
vishnukvmd dedbca36f5 Fetch embeddings from server 2023-10-27 13:04:28 +05:30
vishnukvmd 32a5adb6d8 Pull embeddings once diff sync is done 2023-10-27 13:04:28 +05:30
vishnukvmd eb4daf331a Publish event when remote diff has been synced 2023-10-27 13:04:28 +05:30
vishnukvmd 58ff6aeaaf Compute time more accurately 2023-10-27 13:04:27 +05:30
vishnukvmd 55fc094324 Update SSS 2023-10-27 13:04:27 +05:30
vishnukvmd dc6d3e2111 Integrate batch inference API 2023-10-27 13:04:27 +05:30