Represents a candidate edge for similarity matching.
Used in similarity search operations where a reference edge is compared against candidate edges. The similarity score indicates how closely related the candidate edge is to the reference edge.
const candidate: EdgeCandidate = { referenceId: "edge_works_for_1", candidateId: "edge_works_for_2", similarity: 0.92}; Copy
const candidate: EdgeCandidate = { referenceId: "edge_works_for_1", candidateId: "edge_works_for_2", similarity: 0.92};
ID of the candidate edge
ID of the reference edge being compared
Similarity score between 0 and 1, where 1 indicates perfect similarity
Represents a candidate edge for similarity matching.
Used in similarity search operations where a reference edge is compared against candidate edges. The similarity score indicates how closely related the candidate edge is to the reference edge.
Example