Find answers from the community

Updated 3 months ago

Link

hi, is there a way to make a query pipeline conditional? suppose i have a node A, if x=1 it should go to node B else it should go to node C.
L
r
9 comments
Basically you have a function that returns whether the link should be made or not
@richard1861 btw, I notice you've been diving pretty deep into query pipelines.

If you have any feedback on the current dev UX, do let us know 😁 it's a pretty new feature, so always looking for feedback or how people are using it
yeah, i am enjoying it πŸ™‚ so far so good, i am just struggling with conditions but i will try the conditional links πŸ™‚
after my experience using it, something that I think I could be improved, is that if a particular component of the pipeline fails (for example: ValueError: Module input keys must have exactly one key if dest_key is not specified. Remaining keys: in module: {'context_str', 'python_code', 'context_str2'}), the error does not show which specific the component of the pipeline has failed, it just give you the keys , but when you have a big pipeline it gets messy
also it is not so clear, how to add agents in different steps of a query pipeline. Maybe is possible but i was not able to do it right.
Oh I 100% agree on this one. I ran into the same issue with tracking down which link/module was causing the issue lol
If possible, it would be nice if it validated the links before even trying to run it
Add a reply
Sign up and join the conversation on Discord