Replies: 1 comment 1 reply
-
@liefra you can try setting up multiple AI Services each having it's own set of tools and ChatMemory/ChatMemoryProvider. When the request comes in, you can classify it and route to the appropriate agent. But maybe this can be done simpler by having a set of tools selected dynamically for each request. Say if user asks math question, only math-related tools are provided to the LLM. (This is not possible yet.) What do you think? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking for advice on how to implement a multi-agent bot.
The idea is as follows:
EmbeddingModelTextClassifier
.AiServices
agents.AiServices
agent processes the user's message using its specific set of retrievers and tools.The reason multiple agents are needed is that each of them can have many tools, and it would not be efficient enough to include all tools in every chat request. Agents can also be added and removed dynamically depending on additional user preferences.
Do you think it would be possible to implement something like this using LangChain4j (v0.22.0)?
Any advice would be much appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions