Debanjum Singh Solanky
d2905c4be6
Move tests out to project root. Use absolute import in project
...
tests/ directory in project root is more standard.
Just had to use absolute path for internal module imports to get it to
work
2021-09-30 04:12:14 -07:00
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
Debanjum Singh Solanky
3afe054312
Make image batch size to encode configurable via config.yml
2021-09-16 10:52:31 -07:00
Debanjum Singh Solanky
0263d4d068
Enable semantic search for songs in org-music
...
Org-Music: https://github.com/debanjum/org-music
2021-08-29 06:06:28 -07:00
Debanjum Singh Solanky
fd7888f3d4
Resolve relative file paths to config YAML file in cli.py
2021-08-29 03:03:37 -07:00
Debanjum Singh Solanky
4daeddbbda
Enable Semantic Search on Images
2021-08-22 21:42:37 -07:00
Debanjum Singh Solanky
fd217fe8b7
Enable Semantic Search for Beancount transactions
2021-08-22 21:36:06 -07:00
Debanjum Singh Solanky
97263b8209
Move CLI into a separate module. Move CLI tests into a separate file
2021-08-21 19:21:38 -07:00