Farm : Smart Silo Routing
Closed this issue · 1 comments
isontheline commented
- FarmEntity : add setting enum => queryRouterType
- If queryRouterType is "default" : call each Silo + Granary
- If queryRouterType is "language model" : ask LLM to choose one or more Silo + Granary
- Use FallbackStrategy => retrieve on all? Or none?
- SiloEntity + GranaryEntity : add String field "description" => mandatory or not?
- Description will be used in order to help the LLM to choose the best ones
- Use langchain4j "LanguageModelQueryRouter" => choose one or more Silos / Granaries to retrieve