Disambiguating "Gil Elbaz" across 85 search results
founder, factual, company
—
Name variants: Gil Elbaz, G. Elbaz, Gilbert Elbaz, Gilad Elbaz
Each chunk of ≤50 items is sent to gemini-flash with a prompt asking it to group results by
which real-world person they belong to. The LLM returns a label and distinctive keywords for each identity.
For large result sets that span multiple chunks, cluster descriptors (label + keywords) are embedded
using text-embedding-3-small. Clusters with cosine similarity ≥ 0.80 are merged as the same person.
The search hint is embedded alongside all cluster descriptors. The cluster with highest cosine similarity to the hint is selected as the target identity. Its results get score 0.85 (confirmed); other-person results get 0.15; noise gets 0.05.
Cosine similarity between cluster descriptors (embedding space):
| Gil Elbaz (Factual founder, da... | Gil Elbaz (Functional Medicine... | Gil (Groom at a Jewish wedding... | Freema Elbaz (Educational rese... | Gil Elbaz (Python Developer & ... | |
|---|---|---|---|---|---|
| Gil Elbaz (Factual founder, da... | 1.000 | 0.531 | 0.320 | 0.390 | 0.625 |
| Gil Elbaz (Functional Medicine... | 0.531 | 1.000 | 0.317 | 0.435 | 0.569 |
| Gil (Groom at a Jewish wedding... | 0.320 | 0.317 | 1.000 | 0.216 | 0.349 |
| Freema Elbaz (Educational rese... | 0.390 | 0.435 | 0.216 | 1.000 | 0.419 |
| Gil Elbaz (Python Developer & ... | 0.625 | 0.569 | 0.349 | 0.419 | 1.000 |