How to instantiate a node from a config (yaml or dict)? #7495
Answered
by
vblagoje
danielfleischer
asked this question in
Questions
-
In v1 we used |
Beta Was this translation helpful? Give feedback.
Answered by
vblagoje
Apr 10, 2024
Replies: 1 comment 3 replies
-
Hey @danielfleischer would you please clarify - are you asking how is it done in Haystack 2? |
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
Users normally don't need to do this on a component level, (de)serialization mechanism does this automatically for you on pipeline level. See https://haystack.deepset.ai/tutorials/29_serializing_pipelines if helps out. If not lmk