接口 QueryRouter

所有已知实现类:
DefaultQueryRouter, LanguageModelQueryRouter

public interface QueryRouter
Routes the given Query to one or multiple ContentRetrievers.
The goal is to ensure that Content is retrieved only from relevant data sources.
Some potential approaches include:
 - Utilizing a Large Language Model (LLM) (see LanguageModelQueryRouter)
 - Employing a TextClassifier (aka "semantic routing")
 
另请参阅: