Semantic Search
Quite a large and extensive release this one. I've added fuzzy and semantic search.
This needs an API key (Google/OpenAI) or a local model to run.
What is it?
Search by semantic closeness, e.g. "Japanese" will turn up noodles, miso, Japanese-ish names.
I hid the tagging/categorisation away as it was an absolute mess, visual and code-wise. Anybody using this, sorry but I don't think it's really necessary any more with this feature.
Previously we were searching for exact matches in names by default, with the option to search by source, ingredients and directions.
I've added:
- Fuzzy search by default - sort order determined by the scoring
- Optional cumulative searching - search by name AND/OR directions etc
- Sort overrides
- Hidden the sort/advanced searching away
- Semantic searching also performed after the fuzzy search (llm only)
Set up
- Make sure you have a Google/OpenAI/Ollama setting in .env
- Activate it in admin settings
- Choose your model
- Click Generate in the settings - this will take a few minutes - it's foreground so don't navigate away.
- Done. All recipes will save with a semantic embedding going forward.
What's Changed
- #343 Fix by @jt196 in #344
- Semantic search by @jt196 in #345
- tidying up the slop, adding some new stuff, ui tweaks by @jt196 in #346
Full Changelog: v1.5.6...v1.5.7