khoj/tests
Debanjum Singh Solanky 1168244c92 Make cross-encoder re-rank results if query param set on /search API
- Improve search speed by ~10x
  Tested on corpus of 125K lines, 12.5K entries

- Allow cross-encoder to re-rank results by settings &?r=true when querying /search API
  - It's an optional param that default to False
  - Earlier all results were re-ranked by cross-encoder
  - Making this configurable allows for much faster results, if desired
    but for lower accuracy
2022-07-26 22:56:36 +04:00
..
data Create test markdown files. Use them in sample config, docker-compose 2022-07-21 22:09:44 +04:00
__init__.py Move tests out to project root. Use absolute import in project 2021-09-30 04:12:14 -07:00
conftest.py Merge Symmetric, Asymmetric Search Types into a single Text Search Type 2022-07-21 21:19:52 +04:00
test_asymmetric_search.py Make cross-encoder re-rank results if query param set on /search API 2022-07-26 22:56:36 +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 Make cross-encoder re-rank results if query param set on /search API 2022-07-26 22:56:36 +04:00
test_date_filter.py Improve search speed. Only apply filter if filter keywords in query 2022-07-26 22:47:26 +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 Fix tests to handle updated response types by API 2022-07-20 03:01:56 +04:00
test_orgnode.py Parse Logbook Entries in the OrgNode parser for Org-Mode. Update tests 2022-07-21 00:15:30 +04:00