mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
- Formalize filters into class with can_filter() and filter() methods - Use can_filter() method to decide whether to apply filter and create deep copies of entries and embeddings for it - Improve search speed for queries with no filters as deep copying entries, embeddings takes the most time after cross-encodes scoring when calling the /search API Earlier we would create deep copies of entries, embeddings even if the query did not contain any filter keywords |
||
---|---|---|
.. | ||
data | ||
__init__.py | ||
conftest.py | ||
test_asymmetric_search.py | ||
test_chatbot.py | ||
test_cli.py | ||
test_client.py | ||
test_date_filter.py | ||
test_helpers.py | ||
test_image_search.py | ||
test_orgnode.py |