selectBestMatch

open override fun selectBestMatch(suggested: SuggestedEntity, candidates: List<<Error class: unknown class><<Error class: unknown class>>>, sourceText: String?): <Error class: unknown class>?

Select the best matching candidate from a list.

Return

The best matching candidate, or null if none are suitable

Parameters

suggested

The entity we're trying to match

candidates

The search results to evaluate

sourceText

Optional conversation/source text for additional context