0

I would like to use a MultiRootChain to use one QA chain, and an "agents" with tools. But, to use tools, I need to create an agent, via initialize_agent(tools,llm,agent=agent_type,...).

For MultiRootChain, I need a Chain, and not an Agent. How can I combine the two?

Philippe Prados
  • 461
  • 3
  • 12

1 Answers1

0

Try MultiRetrievalQAChain, you can add multiple agents as retrievers. And one of the agent can be QA answering one.

R K
  • 21
  • 5