feat(ml): fuse two embedding models and protect the ML service with a token

This commit is contained in:
shira committed 2026-10-11 14:40:52 +03:00
1 parent bc00d6901f
commit b24e5ff906
63 files changed
+2287 -276

No files matched your search

+12
View File
@@ -117,3 +117,15 @@ func DemoProductPolicyV5() ProductPolicy {
policy.Matching = &matching
return policy
}
// DemoProductPolicyV6 returns DemoProductPolicyV5 with the two-model
// semantic section (DemoSemanticEnsembleMatchingPolicy): Sem fuses Giga and
// Qwen3-Embedding. V5 stays the previous version with Giga alone. It is
// published explicitly with the policy-publish command; startup seeding
// publishes V1 only.
func DemoProductPolicyV6() ProductPolicy {
policy := DemoProductPolicyV5()
matching := DemoSemanticEnsembleMatchingPolicy()
policy.Matching = &matching
return policy
}