Ranking Properties
data class RankingProperties(val llm: String? = null, val maxAttempts: Int = 5, val backoffMillis: Long = 100, val backoffMultiplier: Double = 5.0, val backoffMaxInterval: Long = 180000, val propertyPrefix: String = PREFIX) : RetryProperties
Properties for the ranking service. Optional LLM selection, plus normal retry properties.
Parameters
llm
name of the LLM to use for ranking, or null to use auto selection
max Attempts
maximum number of attempts to retry ranking
backoff Millis
initial backoff time in milliseconds
backoff Multiplier
multiplier for backoff time
backoff Max Interval
maximum backoff time in milliseconds
Constructors
Properties
Functions
Link copied to clipboard
Spring Framework 7 template, as taken by the Spring AI 2.0 model builders. Filters on the same LlmRetryDecision as retryTemplate and reports through the same LlmRetryLogger: with no predicate core.retry replays every throwable, including a malformed request or a bad API key, and with no listener it does so without a word.
Link copied to clipboard