diff --git a/tutorials/29_Serializing_Pipelines.ipynb b/tutorials/29_Serializing_Pipelines.ipynb index cb59ba0..836b98d 100644 --- a/tutorials/29_Serializing_Pipelines.ipynb +++ b/tutorials/29_Serializing_Pipelines.ipynb @@ -213,16 +213,17 @@ " init_parameters:\n", " required_variables: null\n", " template:\n", - " - content: '\n", + " - _content:\n", + " - text: '\n", "\n", " Please create a summary about the following topic:\n", "\n", " {{ topic }}\n", "\n", " '\n", - " meta: {}\n", - " name: null\n", - " role: user\n", + " _meta: {}\n", + " _name: null\n", + " _role: user\n", " variables: null\n", " type: haystack.components.builders.chat_prompt_builder.ChatPromptBuilder\n", " llm:\n", @@ -271,16 +272,17 @@ " init_parameters:\n", " required_variables: null\n", " template:\n", - " - content: '\n", + " - _content:\n", + " - text: '\n", "\n", - " Please create a summary about the following topic:\n", + " Please create a summary about the following topic:\n", "\n", - " {{ topic }}\n", + " {{ topic }}\n", "\n", - " '\n", - " meta: {}\n", - " name: null\n", - " role: user\n", + " '\n", + " _meta: {}\n", + " _name: null\n", + " _role: user\n", " variables: null\n", " type: haystack.components.builders.chat_prompt_builder.ChatPromptBuilder\n", " llm:\n", @@ -334,10 +336,11 @@ " builder:\n", " init_parameters:\n", " template:\n", - " - content: 'Please translate the following to French: \\n{{ sentence }}\\n'\n", - " meta: {}\n", - " name: null\n", - " role: user\n", + " - _content:\n", + " - text: 'Please translate the following to French: \\n{{ sentence }}\\n'\n", + " _meta: {}\n", + " _name: null\n", + " _role: user\n", " variables: null\n", " type: haystack.components.builders.chat_prompt_builder.ChatPromptBuilder\n", " llm:\n", @@ -431,7 +434,7 @@ "source": [ "## What's next\n", "\n", - "🎉 Congratulations! You've serialzed a pipeline into YAML, edited it and ran it again!\n", + "🎉 Congratulations! You've serialized a pipeline into YAML, edited it and ran it again!\n", "\n", "If you liked this tutorial, you may also enjoy:\n", "- [Creating Your First QA Pipeline with Retrieval-Augmentation](https://haystack.deepset.ai/tutorials/27_first_rag_pipeline)\n", @@ -458,7 +461,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.6" + "version": "3.10.12" } }, "nbformat": 4,