buildBakeoffPrompt

abstract fun buildBakeoffPrompt(suggested: SuggestedEntity, candidates: List<<Error class: unknown class><<Error class: unknown class>>>, sourceText: String?): String

Build a prompt for selecting the best match from multiple candidates.

Return

The prompt text for the LLM

Parameters

suggested

The entity to match

candidates

The candidate entities from the database

sourceText

Optional conversation context