diff --git a/config/khoj_docker.yml b/config/khoj_docker.yml index 5f027e34..4f5216d3 100644 --- a/config/khoj_docker.yml +++ b/config/khoj_docker.yml @@ -17,7 +17,7 @@ content-type: ledger: input-files: null - input-filter: [/data/ledger/*.beancount] + input-filter: ["/data/ledger/*.beancount"] compressed-jsonl: /data/embeddings/transactions.jsonl.gz embeddings-file: /data/embeddings/transaction_embeddings.pt diff --git a/config/khoj_sample.yml b/config/khoj_sample.yml index e6838b8c..7c8a2ddf 100644 --- a/config/khoj_sample.yml +++ b/config/khoj_sample.yml @@ -1,7 +1,7 @@ content-type: org: 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 + 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" index_heading_entries: false # Set to true to index entries with empty body @@ -14,20 +14,20 @@ content-type: ledger: 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 + 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" 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 + 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: false music: - 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 + 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"