AI, Llm, Programming, Agents, Software Engineering.
TextClassificationRouter from Haystack. It leverages the langdetect python library to detect the language of of the text, which itself uses a Naive Bayes algorithm to detect the language. Keyword Router This article from Jerry Liu, the Co-Founder of LlamaIndex, on routing inside RAG applications,