mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-18 18:47:11 +00:00
fcbbe8c759
Configure external text content plugins via the Khoj YAML Reuse existing TextContentConfig definition for external text content plugins
23 lines
769 B
YAML
23 lines
769 B
YAML
content-type:
|
|
org:
|
|
input-files: [ "~/first_from_config.org", "~/second_from_config.org" ]
|
|
input-filter: ["*.org", "~/notes/*.org"]
|
|
compressed-jsonl: ".notes.json.gz"
|
|
embeddings-file: ".note_embeddings.pt"
|
|
index-header-entries: true
|
|
|
|
plugins:
|
|
content_plugin_1:
|
|
input-files: [ "content_plugin_1_new.jsonl.gz" ]
|
|
compressed-jsonl: "content_plugin_1.jsonl.gz"
|
|
embeddings-file: "content_plugin_1_embeddings.pt"
|
|
|
|
content_plugin_2:
|
|
input-filter: [ "*2_new.jsonl.gz" ]
|
|
compressed-jsonl: "content_plugin_2.jsonl.gz"
|
|
embeddings-file: "content_plugin_2_embeddings.pt"
|
|
|
|
search-type:
|
|
asymmetric:
|
|
encoder: "sentence-transformers/msmarco-MiniLM-L-6-v3"
|
|
cross-encoder: "cross-encoder/ms-marco-MiniLM-L-6-v2"
|