Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

fixed example of how to load a pipeline from Yaml #348

Merged
merged 1 commit into from Jul 7, 2022

Conversation

JeffRisberg
Copy link

the example of loading a pipeline from yaml calls load_from_yaml() which is a class method on Pipeline, not an instance method on an instance of Pipeline.
Hence:
pipeline = Pipeline.load_from_yaml(filename)

This same problem is present in the documentation for Custom pipelines in the tutorials sections, but I could not find the source files for this.

@vercel
Copy link

vercel bot commented Jun 26, 2022

Someone is attempting to deploy a commit to the deepset Team on Vercel.

A member of the Team first needs to authorize it.

@JeffRisberg
Copy link
Author

@agnieszka-m please review. I don't know how to add reviewers to this PR.

@agnieszka-m
Copy link
Contributor

I'll take care of it, thanks!

@agnieszka-m
Copy link
Contributor

Thanks for fixing it @JeffRisberg! I'll also open a PR for tutorials.

@vercel
Copy link

vercel bot commented Jul 7, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
haystack-website ✅ Ready (Inspect) Visit Preview Jul 7, 2022 at 7:37AM (UTC)

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

Successfully merging this pull request may close these issues.

None yet

2 participants