Commit graph

132 commits

Author SHA1 Message Date
vishnukvmd add4ad2700 Reduce debounce duration 2024-01-05 16:55:03 +05:30
vishnukvmd 637f3c0f66 Remove reliance on Isar's watcher 2024-01-05 16:51:54 +05:30
vishnukvmd e50e6dc013 Add log line 2024-01-05 16:18:46 +05:30
vishnukvmd 1d7e609bbe Remove unused variable 2024-01-05 16:05:22 +05:30
vishnukvmd 87fd781304 Reassign variable instead of iterating over the list 2024-01-05 16:05:03 +05:30
vishnukvmd 39affa0852 Add retrials for model downloads 2024-01-05 15:59:58 +05:30
vishnukvmd f24faa0404 Subscribe to DB updates only when app is in foreground 2024-01-05 15:19:49 +05:30
vishnukvmd bbed1c052a Inject model from upstream 2024-01-05 15:16:27 +05:30
vishnukvmd 09d274778f Fetch only ONNX embeddings 2024-01-05 15:14:50 +05:30
vishnukvmd 51af506f14 Handle cases where we could not fetch the thumbnail 2024-01-05 11:00:50 +05:30
vishnukvmd 3554dc3827 Remove debug code 2024-01-05 10:59:25 +05:30
vishnukvmd 22fd204e11 Replace ObjectBox with Isar 2024-01-04 20:25:16 +05:30
vishnukvmd 83200fbb24 Initialize ORT only once 2024-01-04 11:39:06 +05:30
0nullpointer 5413646a28 fix image encoder 2024-01-04 11:19:16 +05:30
0nullpointer b1b2fb311d Add mobile image encoder 2024-01-04 00:28:14 +05:30
NullPointer 883363fcc0
Fix reshape order for image tensor 2023-12-27 20:02:04 +05:30
ashilkn ce276bbc07 check if Semantic search has been initialized before calling ObjectBox.instance.clearTable() to avoid LateInitializationError of 'store' 2023-12-27 08:29:39 +05:30
NullPointer b9116d172f
Fix typo in image encoder 2023-12-22 23:11:30 +05:30
vishnukvmd c03cf7cf47 Initialize ORT in a separate isolate 2023-12-21 15:31:49 +05:30
vishnukvmd 52943f38ab Remove normalizations 2023-12-20 15:18:58 +05:30
vishnukvmd 79956502ae Init ObjectBox only in the foreground 2023-12-19 13:03:45 +05:30
vishnukvmd 6c242aa1d2 Implement the API to release resources held by ORT 2023-12-19 00:35:45 +05:30
vishnukvmd 836fb97598 Use the file directly to create an OrtSession 2023-12-19 00:35:16 +05:30
vishnukvmd b4019f3c50 Refactor commented code 2023-12-18 22:21:01 +05:30
vishnukvmd a5e5c60111 Initialize SSS only if it has been opted-in for 2023-12-18 22:17:19 +05:30
vishnukvmd 4357795d50 Remove unnecessary check 2023-12-18 22:05:03 +05:30
vishnukvmd 248f45c2c3 Reduce size of LRU cache 2023-12-18 12:55:15 +05:30
vishnukvmd d4ebb5c493 Add an LRU cache for queries 2023-12-18 12:54:54 +05:30
vishnukvmd 073e2a06e6 Update model path 2023-12-18 12:14:17 +05:30
vishnukvmd 22d24cfd73 Fix warnings 2023-12-18 11:28:32 +05:30
vishnukvmd 8c0b569702 Remove all release calls 2023-12-17 17:46:06 +05:30
vishnukvmd fb11e730ce Skip image model loading 2023-12-16 17:10:39 +05:30
vishnukvmd 621599496e Use ONNX for text embeddings 2023-12-16 16:50:07 +05:30
vishnukvmd d0a85aa146 Fix warnings 2023-12-16 16:22:01 +05:30
0nullpointer 04b4a1fbba Add ggml image preprocessing 2023-12-15 02:45:00 +05:30
vishnukvmd 61a6481de4 Extract variable 2023-12-14 15:38:42 +05:30
0nullpointer cfc0d05a14 image normalization with tensors 2023-12-14 12:02:14 +05:30
vishnukvmd 03f471623b Temporarily parse model from assets 2023-12-14 11:31:01 +05:30
vishnukvmd c35ee381d3 Add ability to clear local embeddings 2023-12-14 11:30:09 +05:30
vishnukvmd 1c488e86a5 Increase batch size for caching thumbs 2023-12-14 11:25:16 +05:30
vishnukvmd 7bbcdb0010 Increase batch size for caching thumbnails 2023-12-13 19:08:05 +05:30
vishnukvmd f5b7897838 Fix thumbnail caching logic 2023-12-13 17:24:27 +05:30
vishnukvmd ad8f7cbccd Cache all thumbnails first 2023-12-13 15:16:34 +05:30
vishnukvmd e1ea9530f1 Remove score threshold 2023-12-13 15:02:35 +05:30
vishnukvmd bbee1c0e41 Fetch only relevant embeddings from disk 2023-12-13 14:56:08 +05:30
vishnukvmd 3ea8fca2f2 Retrieve OrtSession from cached address 2023-12-13 14:55:51 +05:30
vishnukvmd 14acf95a15 Disable embedding push 2023-12-13 14:55:13 +05:30
vishnukvmd 01c82eaf82 Store framework name along with the model name 2023-12-13 14:42:02 +05:30
vishnukvmd 1c0ff2f10c Use the cached address to retrieve the encoder 2023-12-13 14:39:18 +05:30
vishnukvmd b2f9dd2c8b Initialize tokenizer outside the isolate 2023-12-13 14:38:24 +05:30