Uses of Class
com.tnsai.llm.FallbackLLMClient.Builder
Packages that use FallbackLLMClient.Builder
-
Uses of FallbackLLMClient.Builder in com.tnsai.llm
Methods in com.tnsai.llm that return FallbackLLMClient.BuilderModifier and TypeMethodDescriptionstatic FallbackLLMClient.BuilderFallbackLLMClient.builder()Creates a new builder for FallbackLLMClient.Adds a fallback LLM client.FallbackLLMClient.Builder.logFallbacks(boolean log) Whether to log fallback attempts (default: true).Sets the primary LLM client.FallbackLLMClient.Builder.retryOnPrimary(int retries) Sets the number of retries on primary before fallback (default: 2).