khoj/src/utils
Debanjum Singh Solanky 110e3df0b7 Set default config in the constant module. Use from there to configure app
- Avoid having to pass the khoj_sample.yml data file into pip, native apps
- Packaging data files into python packages is annoying.
  - There's `MANIFEST.in`, `data_files` and `package_data` in setup.py
  - Bdist, wheel, generated source tarball use different set of these fields
    and put the data files in different locations
  - Rather just code the default config into a constant. Avoid
    pointless file reads as well this way
2022-08-12 02:18:46 +03:00
..
__init__.py Move application files under src directory. Update Readmes 2021-08-17 04:11:03 -07:00
cli.py Resolve config_file to absolute right at start on parsing args in cli 2022-08-12 01:34:08 +03:00
config.py Show current config on config screen. Load default config if config unset 2022-08-11 19:11:25 +03:00
constants.py Set default config in the constant module. Use from there to configure app 2022-08-12 02:18:46 +03:00
exiftool.py Use XMP metadata in images to improve image search 2021-09-16 08:55:20 -07:00
helpers.py Update merge_dicts to recursively merge the dictionaries 2022-08-04 22:46:20 +03:00
install.py Merge Symmetric, Asymmetric Search Types into a single Text Search Type 2022-07-21 21:19:52 +04:00
jsonl.py Make embeddings, jsonl paths absolute. Create directories if non-existent 2022-08-05 02:57:59 +03:00
rawconfig.py Mark all required fields for config. Throw if no input_* field specified 2022-08-05 01:08:48 +03:00
state.py Store args passed from commandline at app start in global app state 2022-08-11 00:11:35 +03:00
yaml.py Resolve config_file to absolute right at start on parsing args in cli 2022-08-12 01:34:08 +03:00