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

@@ -361,6 +361,24 @@ type CandidateProfileOverlapConfirmation struct {
SecondEndedOn pgtype.Text
}
type CandidateProjectRepository struct {
CandidateID pgtype.UUID
RepositoryKey string
State string
GithubID pgtype.Int8
Description pgtype.Text
Topics []string
Languages []string
ReadmeExcerpt pgtype.Text
RepositoryEtag pgtype.Text
ReadmeEtag pgtype.Text
FailureClass pgtype.Text
CheckedAt pgtype.Timestamptz
RequestedAt pgtype.Timestamptz
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
}
type CandidatePublication struct {
UserID pgtype.UUID
State string
@@ -838,6 +856,22 @@ type ScheduledJob struct {
UpdatedAt pgtype.Timestamptz
}
type SemanticVector struct {
SubjectKind string
SubjectID pgtype.UUID
CandidateID pgtype.UUID
NeedID pgtype.UUID
ModelID string
ModelRevision string
PromptVersion string
ItemKey string
ContentSha256 []byte
LabelSha256 []byte
Dimension int32
Vector []byte
ComputedAt pgtype.Timestamptz
}
type Session struct {
ID pgtype.UUID
UserID pgtype.UUID