agrag.eval.resolution.run_resolver
run_resolver(resolver:Resolver, mentions:Sequence[str], *, label:str = 'Organization') -> ClusterAssignment
Resolve mention strings and return the clusters the resolver forms.
See run_resolver_detailed for the chunk construction. Use that variant
when a caller also needs the raw ResolutionResult evidence.
Parameters:
- resolver (
Resolver) – The resolver under test. - mentions (
Sequence[str]) – The mention texts. - label (
str) – The entity label given to every mention.
Returns:
ClusterAssignment– The predicted clusters, the count of matches per comparator, andClusterAssignment– the count of failed LLM requests.