Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation of search Pipeline graph #600

Closed
tanaysoni opened this issue Nov 17, 2020 · 1 comment · Fixed by #2226
Closed

Validation of search Pipeline graph #600

tanaysoni opened this issue Nov 17, 2020 · 1 comment · Fixed by #2226
Assignees

Comments

@tanaysoni
Copy link
Contributor

The Pipeline class allows building a custom search pipeline using components like retriever and readers. Under-the-hood, the components(nodes) are represented as a graph. It would be nice to have validation in place when constructing a pipeline object. For instance, raising an error when three nodes are connected to a query classifier that has only two class labels.

Additionally, a dry-run functionality could be added to make it easier to test out new pipelines.

@tholor
Copy link
Member

tholor commented Feb 11, 2021

In order for a proper pipeline validation, we need to first define standardized output types of the nodes and accepted input types (as mentioned also in #821)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants