Enum Class LanguageModelQueryRouter.FallbackStrategy

java.lang.Object
java.lang.Enum<LanguageModelQueryRouter.FallbackStrategy>
dev.langchain4j.rag.query.router.LanguageModelQueryRouter.FallbackStrategy
All Implemented Interfaces:
Serializable, Comparable<LanguageModelQueryRouter.FallbackStrategy>, Constable
Enclosing class:
LanguageModelQueryRouter

public static enum LanguageModelQueryRouter.FallbackStrategy extends Enum<LanguageModelQueryRouter.FallbackStrategy>
Strategy applied if the call to the LLM fails of if LLM does not return a valid response. It could be because it was formatted improperly, or it is unclear where to route.