From 9fb410fc2576b5845e88d668cc7338c1034921b0 Mon Sep 17 00:00:00 2001 From: Saba Date: Mon, 24 Jan 2022 14:11:38 -0500 Subject: [PATCH] Clean up docker_sample_config.yml - Uncomment other search types - Explain the file prefixes behavior and how it interfaces with the docker image --- docker_sample_config.yml | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/docker_sample_config.yml b/docker_sample_config.yml index 8abe0209..4b5ad021 100644 --- a/docker_sample_config.yml +++ b/docker_sample_config.yml @@ -1,4 +1,7 @@ content-type: + # The /data/folder/ prefix to the folders is here because this is + # the directory to which the local files are copied in the docker-compose. + # If changing, the docker-compose volumes should also be changed to match. org: input-files: null input-filter: "/data/notes/*.org" @@ -6,22 +9,22 @@ content-type: embeddings-file: "/data/generated/.note_embeddings.pt" ledger: - # input-files: null - # input-filter: /data/ledger/*.beancount - # compressed-jsonl: /data/generated/.transactions.jsonl.gz - # embeddings-file: /data/generated/.transaction_embeddings.pt + input-files: null + input-filter: /data/ledger/*.beancount + compressed-jsonl: /data/generated/.transactions.jsonl.gz + embeddings-file: /data/generated/.transaction_embeddings.pt image: - # input-directory: "/data/images/" - # embeddings-file: "/data/generated/.image_embeddings.pt" - # batch-size: 50 - # use-xmp-metadata: "no" + input-directory: "/data/images/" + embeddings-file: "/data/generated/.image_embeddings.pt" + batch-size: 50 + use-xmp-metadata: "no" music: - # input-files: null - # input-filter: "/data/music/*.org" - # compressed-jsonl: "/data/generated/.songs.jsonl.gz" - # embeddings-file: "/data/generated/.song_embeddings.pt" + input-files: null + input-filter: "/data/music/*.org" + compressed-jsonl: "/data/generated/.songs.jsonl.gz" + embeddings-file: "/data/generated/.song_embeddings.pt" search-type: symmetric: