feat(matching): rank with semantic embeddings and explain matches by evidence
This commit is contained in:
1 parent
facc1789b1
commit
24b64d698a
215 files changed
+16951
-327
No files matched your search
@@ -106,3 +106,14 @@ func DemoProductPolicyV4() ProductPolicy {
|
||||
policy.Matching = &matching
|
||||
return policy
|
||||
}
|
||||
|
||||
// DemoProductPolicyV5 returns DemoProductPolicyV4 with the semantic matching
|
||||
// section and the semantic Fit weights (DemoSemanticMatchingPolicy). V4 stays
|
||||
// the PRD point with Sem weight 0.10. It is published explicitly with the
|
||||
// policy-publish command; startup seeding publishes V1 only.
|
||||
func DemoProductPolicyV5() ProductPolicy {
|
||||
policy := DemoProductPolicyV4()
|
||||
matching := DemoSemanticMatchingPolicy()
|
||||
policy.Matching = &matching
|
||||
return policy
|
||||
}
|
||||
Reference in new issue
Block a user