diff --git a/docs/_src/tutorials/tutorials/11.md b/docs/_src/tutorials/tutorials/11.md index 5607aba57a..e4c8056e38 100644 --- a/docs/_src/tutorials/tutorials/11.md +++ b/docs/_src/tutorials/tutorials/11.md @@ -187,7 +187,7 @@ To find out more about these pipelines, have a look at our [documentation](https With any Pipeline, whether prebuilt or custom constructed, you can save a diagram showing how all the components are connected. -![image](https://github.com/deepset-ai/haystack/blob/master/docs/img/retriever-reader-pipeline.png) +![image](https://github.com/deepset-ai/haystack/blob/master/docs/img/retriever-reader-pipeline.png?raw=true) ```python @@ -405,7 +405,7 @@ pipelines: # multiple Pipelines can be defined using the components from abov To load, simply call: ``` python -pipeline.load_from_yaml(Path("sample.yaml")) +yaml_pipeline = Pipeline.load_from_yaml(Path("sample.yaml")) ``` ## Conclusion diff --git a/tutorials/Tutorial11_Pipelines.ipynb b/tutorials/Tutorial11_Pipelines.ipynb index 4c0a21e824..6e7fa8f55e 100644 --- a/tutorials/Tutorial11_Pipelines.ipynb +++ b/tutorials/Tutorial11_Pipelines.ipynb @@ -363,7 +363,7 @@ "With any Pipeline, whether prebuilt or custom constructed,\n", "you can save a diagram showing how all the components are connected.\n", "\n", - "![image](https://github.com/deepset-ai/haystack/blob/master/docs/img/retriever-reader-pipeline.png)" + "![image](https://github.com/deepset-ai/haystack/blob/master/docs/img/retriever-reader-pipeline.png?raw=true)" ] }, { @@ -725,7 +725,7 @@ "source": [ "To load, simply call:\n", "``` python\n", - "pipeline.load_from_yaml(Path(\"sample.yaml\"))\n", + "yaml_pipeline = Pipeline.load_from_yaml(Path(\"sample.yaml\"))\n", "```" ] }, @@ -790,4 +790,4 @@ }, "nbformat": 4, "nbformat_minor": 2 -} \ No newline at end of file +}