khoj/tests
Debanjum Singh Solanky e6db3e3d00 Prefer Dates From Future only when specific words in date string
- Default to looking at dates from past, as most notes are from past
- Look for dates in future for cases where it's obvious query is for
  dates in the future but dateparser's parse doesn't parse it at all.
  E.g parse('5 months from now') returns nothing

- Setting PREFER_DATES_FROM_FUTURE in this case and passing just
  parse('5 months') to dateparser.parse works as expected
2022-07-14 18:13:12 +04:00
..
data Improve test data organization and update correspoding conftests 2022-01-29 02:03:17 -05:00
__init__.py Move tests out to project root. Use absolute import in project 2021-09-30 04:12:14 -07:00
conftest.py Improve Query Speed. Normalize Embeddings, Moving them to Cuda GPU 2022-06-30 00:59:57 +04:00
test_asymmetric_search.py Fix asymmetric search test to pass entries returned by query to collate_results 2022-07-12 18:48:49 +04: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 Update unit tests to use the new BaseModel types 2021-12-05 09:31:39 -05:00
test_client.py Add Unit Tests to verify the Reload API functions as desired 2022-06-29 23:47:17 +04:00
test_date_filter.py Prefer Dates From Future only when specific words in date string 2022-07-14 18:13:12 +04:00
test_helpers.py Move tests out to project root. Use absolute import in project 2021-09-30 04:12:14 -07:00
test_image_search.py Rename RawConfig Types for Consistency 2022-01-14 20:54:38 -05:00
test_orgnode.py Normalize org notes path to be relative to home directory 2022-06-28 19:16:11 +04:00