The post asks if there is a way to make a query pipeline conditional, where the flow goes to different nodes based on a condition. The comments indicate that this is possible, and a community member provides an example link to the documentation. Another community member suggests using a function to determine whether a link should be made or not.
The comments also include feedback on the current developer experience with query pipelines. Community members note that when a component of the pipeline fails, the error message does not clearly indicate which component caused the issue. They also mention that it is not clear how to add agents at different steps of the pipeline.
There is no explicitly marked answer, but the community members provide suggestions and feedback on how to implement conditional query pipelines and improve the developer experience.
@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
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