khoj/src
Debanjum Singh Solanky 2fe37a090f Make type of encoder to use for embeddings configurable via khoj.yml
- Previously `model_type' was set in the setup of each `search_type'
  - All encoders were of type `SentenceTransformer'
  - All cross_encoders were of type `CrossEncoder'

- Now `encoder-type' can be configured via the new `encoder_type' field
  in `TextSearchConfig' under `search-type` in `khoj.yml`.

- All the specified `encoder-type' class needs is an `encode' method
  that takes entries and returns embedding vectors
2023-01-07 23:09:12 -03:00
..
interface Merge PR #112 to fix quote usage in khoj.el docstring from suliveevil/master 2023-01-05 13:24:11 -03:00
processor Allow recursive glob pattern (**) to add files to search index 2023-01-03 01:32:58 -03:00
routers Create /config/data/default API endpoint to serve default khoj config 2023-01-03 21:52:34 -03:00
search_filter Use new Text Entry class to track text entries in Intermediate Format 2022-10-08 12:06:05 +03:00
search_type Make type of encoder to use for embeddings configurable via khoj.yml 2023-01-07 23:09:12 -03:00
utils Make type of encoder to use for embeddings configurable via khoj.yml 2023-01-07 23:09:12 -03:00
__init__.py Move application files under src directory. Update Readmes 2021-08-17 04:11:03 -07:00
configure.py Allow starting khoj in non-GUI mode without config file instantiated 2023-01-03 21:36:59 -03:00
main.py Allow starting khoj in non-GUI mode without config file instantiated 2023-01-03 21:36:59 -03:00