Represents a candidate node for similarity matching.
Used in similarity search operations where a reference node is compared against candidate nodes. The similarity score indicates how closely related the candidate is to the reference node.
const candidate: NodeCandidate = { referenceId: "node_person_1", candidateId: "node_person_2", similarity: 0.85}; Copy
const candidate: NodeCandidate = { referenceId: "node_person_1", candidateId: "node_person_2", similarity: 0.85};
ID of the candidate node
ID of the reference node being compared
Similarity score between 0 and 1, where 1 indicates perfect similarity
Represents a candidate node for similarity matching.
Used in similarity search operations where a reference node is compared against candidate nodes. The similarity score indicates how closely related the candidate is to the reference node.
Example