2021-08-22 01:47:55 +00:00
|
|
|
content-type:
|
|
|
|
org:
|
2022-08-04 19:57:35 +00:00
|
|
|
input-files: # ["/path/to/org-file.org"] REQUIRED IF input-filter IS NOT SET OR
|
|
|
|
input-filter: # /path/to/org/*.org REQUIRED IF input-files IS NOT SET
|
|
|
|
compressed-jsonl: "~/.khoj/content/org/org.jsonl.gz"
|
|
|
|
embeddings-file: "~/.khoj/content/org/org_embeddings.pt"
|
2021-08-22 01:47:55 +00:00
|
|
|
|
2022-07-21 17:54:30 +00:00
|
|
|
markdown:
|
2022-08-04 19:57:35 +00:00
|
|
|
input-files: # ["/path/to/markdown-file.md"] REQUIRED IF input-filter IS NOT SET OR
|
|
|
|
input-filter: # "/path/to/markdown/*.md" REQUIRED IF input-files IS NOT SET
|
|
|
|
compressed-jsonl: "~/.khoj/content/markdown/markdown.jsonl.gz"
|
|
|
|
embeddings-file: "~/.khoj/content/markdown/markdown_embeddings.pt"
|
2022-07-21 17:54:30 +00:00
|
|
|
|
2021-08-23 04:54:49 +00:00
|
|
|
ledger:
|
2022-08-04 19:57:35 +00:00
|
|
|
input-files: # ["/path/to/ledger-file.beancount"] REQUIRED IF input-filter is not set OR
|
|
|
|
input-filter: # /path/to/ledger/*.beancount REQUIRED IF input-files is not set
|
|
|
|
compressed-jsonl: "~/.khoj/content/ledger/ledger.jsonl.gz"
|
|
|
|
embeddings-file: "~/.khoj/content/ledger/ledger_embeddings.pt"
|
2021-08-23 04:54:49 +00:00
|
|
|
|
2022-08-04 19:57:35 +00:00
|
|
|
image:
|
|
|
|
input-directories: # ["/path/to/images/"] REQUIRED IF input-filter IS NOT SET OR
|
|
|
|
input-filter: # /path/to/images/*.jpg REQUIRED IF input-directories IS NOT SET
|
|
|
|
embeddings-file: "~/.khoj/content/image/image_embeddings.pt"
|
|
|
|
batch-size: 50
|
|
|
|
use-xmp-metadata: true
|
2021-10-02 23:11:27 +00:00
|
|
|
|
|
|
|
music:
|
2022-08-04 19:57:35 +00:00
|
|
|
input-files: # ["/path/to/music-file.org"] REQUIRED IF input-filter IS NOT SET OR
|
|
|
|
input-filter: # /path/to/music/*.org REQUIRED IF input-files IS NOT SET
|
|
|
|
compressed-jsonl: "~/.khoj/content/music/music.jsonl.gz"
|
|
|
|
embeddings-file: "~/.khoj/content/music/music_embeddings.pt"
|
2021-08-23 04:54:49 +00:00
|
|
|
|
2021-08-22 01:47:55 +00:00
|
|
|
search-type:
|
2022-01-14 21:46:56 +00:00
|
|
|
symmetric:
|
2022-07-18 16:16:40 +00:00
|
|
|
encoder: "sentence-transformers/all-MiniLM-L6-v2"
|
2022-01-14 21:46:56 +00:00
|
|
|
cross-encoder: "cross-encoder/ms-marco-MiniLM-L-6-v2"
|
2022-08-04 19:57:35 +00:00
|
|
|
model_directory: "~/.khoj/search/symmetric/"
|
2022-01-14 21:46:56 +00:00
|
|
|
|
2021-08-22 01:47:55 +00:00
|
|
|
asymmetric:
|
2022-07-18 16:00:19 +00:00
|
|
|
encoder: "sentence-transformers/multi-qa-MiniLM-L6-cos-v1"
|
2021-08-22 01:47:55 +00:00
|
|
|
cross-encoder: "cross-encoder/ms-marco-MiniLM-L-6-v2"
|
2022-08-04 19:57:35 +00:00
|
|
|
model_directory: "~/.khoj/search/asymmetric/"
|
2021-08-23 04:54:49 +00:00
|
|
|
|
|
|
|
image:
|
2022-08-04 19:57:35 +00:00
|
|
|
encoder: "sentence-transformers/clip-ViT-B-32"
|
|
|
|
model_directory: "~/.khoj/search/image/"
|
2021-11-26 19:56:26 +00:00
|
|
|
|
|
|
|
processor:
|
|
|
|
conversation:
|
2022-08-04 19:57:35 +00:00
|
|
|
openai-api-key: # "YOUR_OPENAI_API_KEY"
|
|
|
|
conversation-logfile: "~/.khoj/processor/conversation/conversation_logs.json"
|