How can a pipeline connection or component in a pipeline be updated? #7707
Unanswered
SurealCereal
asked this question in
Questions
Replies: 1 comment 3 replies
-
Hi @SurealCereal are you trying to change the definition of a pipeline at runtime? Or are you trying to deserialise a pipeline and then change its definition? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Take for example the
ElasticsearchDocumentStore
- once its created, theindex
cannot be changed. That's fine, but I don't see a clear way to remove the component from the pipeline to replace it for example. Pipeline hasadd_component()
but no clear way to remove an existing component. I've tried digging into protected functions and the pipelinegraph
, but everything gets very heavily interconnected with dynamic properties being added to components likenode.data['instance'].__haystack_input__._sockets_dict
and more.Beta Was this translation helpful? Give feedback.
All reactions