Companion
Properties
Functions
Link copied to clipboard
Returns a builder that lets you choose a default PromptAugmenter implementation.
Link copied to clipboard
fun formatContext(relevantContext: List<SearchResult>, contextPrefix: String = DEFAULT_CONTEXT_PREFIX): String
Formats a list of search results into a numbered text block with the given prefix.
Link copied to clipboard
Formats the template by replacing placeholders with actual content.