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
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user