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

@@ -565,6 +565,19 @@ func anonymousCardResponse(view domain.AnonymousCandidateViewDTO) api.AnonymousC
if view.SalaryCompatibility != nil {
content.SalaryCompatibility.SetTo(api.CandidateSalaryCompatibility(*view.SalaryCompatibility))
}
for _, project := range view.Projects {
description := api.NilString{Null: true}
if project.Description != nil {
description.SetTo(*project.Description)
}
stack := make([]api.StackTag, 0, len(project.Stack))
for _, tag := range project.Stack {
stack = append(stack, api.StackTag(tag))
}
content.Projects = append(content.Projects, api.CardProject{
Title: project.Title, Description: description, Stack: stack, RepositoryVerified: project.RepositoryVerified,
})
}
return content
}