RankingProperties

data class RankingProperties(val llm: String? = null, val maxAttempts: Int = 5, val backoffMillis: Long = 100, val backoffMultiplier: Double = 5.0, val backoffMaxInterval: Long = 180000) : 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

maxAttempts

maximum number of attempts to retry ranking

backoffMillis

initial backoff time in milliseconds

backoffMultiplier

multiplier for backoff time

backoffMaxInterval

maximum backoff time in milliseconds

Constructors

Link copied to clipboard
constructor(llm: String? = null, maxAttempts: Int = 5, backoffMillis: Long = 100, backoffMultiplier: Double = 5.0, backoffMaxInterval: Long = 180000)

Properties

Link copied to clipboard
open override val backoffMaxInterval: Long = 180000
Link copied to clipboard
open override val backoffMillis: Long = 100
Link copied to clipboard
open override val backoffMultiplier: Double = 5.0
Link copied to clipboard
val llm: String? = null
Link copied to clipboard
open override val maxAttempts: Int = 5
Link copied to clipboard
open val retryPolicy: <Error class: unknown class>

Functions

Link copied to clipboard
open override fun retryTemplate(name: String): <Error class: unknown class>