Method FindDisagreement
- Namespace
- MailFathom.AI.Embeddings
- Assembly
- MailFathom.AI.dll
FindDisagreement(IReadOnlyList<EmbeddingEndpoint>)
Reports the first disagreement in a chain, or nothing when every endpoint declares one geometry.
public static string? FindDisagreement(IReadOnlyList<EmbeddingEndpoint> endpoints)
Parameters
endpointsIReadOnlyList<EmbeddingEndpoint>The endpoints in the order they were declared.
Returns
Remarks
Every endpoint is compared against the first rather than against its predecessor, so the message always names the declaration the chain is measured by instead of whichever neighbour happened to differ.
Exceptions
- ArgumentNullException
Thrown when
endpointsis null.