feat(retrieval): add optional Qwen semantic layer

This commit is contained in:
Julian lechner committed 2026-09-17 09:16:53 +02:00
1 parent bfbe001248
commit 27f1c1ec79
6 files changed
+311

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
sync_semantic_retrieval() {
local root=$1 client=$2 home_path=$3 enabled=$4 dry_run=$5 update=$6
[ "$enabled" = true ] || [ -f "$home_path/.my-ai-configuration/semantic-retrieval.json" ] || return 0
local arguments=("$root/scripts/lib/semantic-retrieval.py" sync --root "$root" --home "$home_path" --client "$client" --enabled "$enabled")
[ "$dry_run" != true ] || arguments+=(--dry-run)
[ "$update" != true ] || arguments+=(--update)
python3 "${arguments[@]}"
}