mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-28 18:03:01 +01:00
2fe37a090f
- 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 |
||
---|---|---|
.. | ||
interface | ||
processor | ||
routers | ||
search_filter | ||
search_type | ||
utils | ||
__init__.py | ||
configure.py | ||
main.py |