khoj/sample_config.yml
Debanjum Singh Solanky 169ddcc8c6 Make Using XMP Metadata to Enhance Image Search Optional, Configurable
- Break the compute embeddings method into separate methods:
  compute_image_embeddings and compute_metadata_embeddings

- If image_metadata_embeddings isn't defined, do not use it to enhance
  search results. Given image_metadata_embeddings wouldn't be defined
  if use_xmp_metadata is False, we can avoid unnecessary addition of
  args to query method
2021-09-16 12:01:05 -07:00

23 lines
615 B
YAML

content-type:
org:
input-files: ["src/tests/data/main_readme.org", "src/tests/data/interface_emacs_readme.org"]
input-filter: null
compressed-jsonl: ".notes.json.gz"
embeddings-file: ".note_embeddings.pt"
ledger:
compressed-jsonl: ".transactions.jsonl.gz"
embeddings-file: ".transaction_embeddings.pt"
image:
embeddings-file: '.image_embeddings.pt'
batch-size: 50
use-xmp-metadata: 'no'
search-type:
asymmetric:
encoder: "sentence-transformers/msmarco-MiniLM-L-6-v3"
cross-encoder: "cross-encoder/ms-marco-MiniLM-L-6-v2"
image:
encoder: "clip-ViT-B-32"