formatContext

fun formatContext(relevantContext: List<SearchResult>, contextPrefix: String = DEFAULT_CONTEXT_PREFIX): String(source)

Formats a list of search results into a numbered text block with the given prefix.