Class AgentPlatformProperties.RankingConfig
-
- All Implemented Interfaces:
public final class AgentPlatformProperties.RankingConfigRanking configuration with retry logic
-
-
Field Summary
Fields Modifier and Type Field Description private Stringllmprivate IntegermaxAttemptsprivate LongbackoffMillisprivate DoublebackoffMultiplierprivate LongbackoffMaxInterval
-
Constructor Summary
Constructors Constructor Description AgentPlatformProperties.RankingConfig()
-
Method Summary
Modifier and Type Method Description final StringgetLlm()Name of the LLM to use for ranking, or null to use auto selection final UnitsetLlm(String llm)Name of the LLM to use for ranking, or null to use auto selection final IntegergetMaxAttempts()Maximum number of attempts to retry ranking final UnitsetMaxAttempts(Integer maxAttempts)Maximum number of attempts to retry ranking final LonggetBackoffMillis()Initial backoff time in milliseconds final UnitsetBackoffMillis(Long backoffMillis)Initial backoff time in milliseconds final DoublegetBackoffMultiplier()Multiplier for backoff time final UnitsetBackoffMultiplier(Double backoffMultiplier)Multiplier for backoff time final LonggetBackoffMaxInterval()Maximum backoff time in milliseconds final UnitsetBackoffMaxInterval(Long backoffMaxInterval)Maximum backoff time in milliseconds -
-
Method Detail
-
setLlm
final Unit setLlm(String llm)
Name of the LLM to use for ranking, or null to use auto selection
-
getMaxAttempts
final Integer getMaxAttempts()
Maximum number of attempts to retry ranking
-
setMaxAttempts
final Unit setMaxAttempts(Integer maxAttempts)
Maximum number of attempts to retry ranking
-
getBackoffMillis
final Long getBackoffMillis()
Initial backoff time in milliseconds
-
setBackoffMillis
final Unit setBackoffMillis(Long backoffMillis)
Initial backoff time in milliseconds
-
getBackoffMultiplier
final Double getBackoffMultiplier()
Multiplier for backoff time
-
setBackoffMultiplier
final Unit setBackoffMultiplier(Double backoffMultiplier)
Multiplier for backoff time
-
getBackoffMaxInterval
final Long getBackoffMaxInterval()
Maximum backoff time in milliseconds
-
setBackoffMaxInterval
final Unit setBackoffMaxInterval(Long backoffMaxInterval)
Maximum backoff time in milliseconds
-
-
-
-