mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 09:25:06 +01:00
169ddcc8c6
- 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
23 lines
615 B
YAML
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"
|