is there an example of how to include an agent as a part of a query pipeline?
so, imagine i have like 10-20 modules, and i want to make a retry loop with an agent but just on an specific part, not the whole pipeline.
qp = QP(
modules={
"input": InputComponent(),
...
"agent_input_component": agent_input_component,
...
"agent_output_component": agent_output_component,
},
Add a reply
Sign up and join the conversation on Discord