feat(matching): rank with semantic embeddings and explain matches by evidence

This commit is contained in:
shira committed 2026-10-11 10:39:46 +03:00
1 parent facc1789b1
commit 24b64d698a
215 files changed
+16951 -327

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
// Command policy-publish adds the demo matching section to the product
// policy of a stand. It publishes a new immutable version and changes nothing
// Command policy-publish adds the demo matching section or the semantic
// matching section to the product policy of a stand. It publishes a new immutable version and changes nothing
// else.
package main
+28
View File
@@ -0,0 +1,28 @@
// Command semantic-backfill schedules vector jobs for the existing published
// candidates and needs of a stand. It changes no product data.
package main
import (
"context"
"fmt"
"os"
"os/signal"
"syscall"
"time"
"lincodex/backend/internal/adapter/primary/cli/semanticbackfill"
)
func main() {
os.Exit(run())
}
func run() int {
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
defer stop()
if err := semanticbackfill.Run(ctx, os.Args[1:], os.LookupEnv, os.Stdout, time.Now); err != nil {
_, _ = fmt.Fprintf(os.Stderr, "semantic-backfill: %v\n", err)
return 2
}
return 0
}