khoj/src/utils
Debanjum Singh Solanky d5597442f4 Modularize Code. Wrap Search, Model Config in Classes. Add Tests
Details
  - Rename method query_* to query in search_types for standardization
  - Wrapping Config code in classes simplified mocking test config
  - Reduce args beings passed to a function by passing it as single
    argument wrapped in a class
  - Minimize setup in main.py:__main__. Put most of it into functions
    These functions can be mocked if required in tests later too

Setup Flow:
  CLI_Args|Config_YAML -> (Text|Image)SearchConfig -> (Text|Image)SearchModel
2021-09-30 02:04:04 -07:00
..
__init__.py Move application files under src directory. Update Readmes 2021-08-17 04:11:03 -07:00
cli.py Make Using XMP Metadata to Enhance Image Search Optional, Configurable 2021-09-16 12:01:05 -07:00
config.py Modularize Code. Wrap Search, Model Config in Classes. Add Tests 2021-09-30 02:04:04 -07:00
exiftool.py Use XMP metadata in images to improve image search 2021-09-16 08:55:20 -07:00
helpers.py Enable Semantic Search on Images 2021-08-22 21:42:37 -07:00
install.py Move application files under src directory. Update Readmes 2021-08-17 04:11:03 -07:00