khoj/tests
Debanjum Singh Solanky 2f7a6af56a Support incremental update of org-mode entries and embeddings
- What
  - Hash the entries and compare to find new/updated entries
  - Reuse embeddings encoded for existing entries
  - Only encode embeddings for updated or new entries
  - Merge the existing and new entries and embeddings to get the updated
    entries, embeddings

- Why
  - Given most note text entries are expected to be unchanged
    across time. Reusing their earlier encoded embeddings should
    significantly speed up embeddings updates
  - Previously we were regenerating embeddings for all entries,
    even if they had existed in previous runs
2022-09-10 20:58:33 +03:00
..
data Rename org-mode test data directory to more specific org/ from notes/ 2022-08-04 22:29:57 +03:00
__init__.py Move tests out to project root. Use absolute import in project 2021-09-30 04:12:14 -07:00
conftest.py Setup Filters when configuring Text Search for each Search Type 2022-09-05 15:21:40 +03:00
test_chatbot.py Fix the user intent extraction prompt for GPT. Clean up chatbot test 2022-01-12 10:36:01 -05:00
test_cli.py Fix CLI tests as config_file path made absolute during CLI parsing 2022-08-12 01:47:52 +03:00
test_client.py Setup Filters when configuring Text Search for each Search Type 2022-09-05 15:21:40 +03:00
test_date_filter.py Do not pass embeddings as argument to filter.apply method 2022-09-05 15:46:54 +03:00
test_file_filter.py Do not pass embeddings as argument to filter.apply method 2022-09-05 15:46:54 +03:00
test_helpers.py Create LRU helper class for caching 2022-09-04 16:31:46 +03:00
test_image_search.py Re-enable tests for image search 2022-08-20 14:44:53 +03:00
test_org_to_jsonl.py Support incremental update of org-mode entries and embeddings 2022-09-10 20:58:33 +03:00
test_orgnode.py Test Task State Extraction in OrgNode Tests 2022-08-10 13:48:18 +03:00
test_text_search.py Do not pass embeddings as argument to filter.apply method 2022-09-05 15:46:54 +03:00
test_word_filter.py Do not pass embeddings as argument to filter.apply method 2022-09-05 15:46:54 +03:00