From cea3f7248500fd974e8ada1f1c9b09da6e054b9c Mon Sep 17 00:00:00 2001 From: orkhank <118054233+orkhank@users.noreply.github.com> Date: Mon, 5 Aug 2024 14:11:09 +0000 Subject: [PATCH] docs: fix comment lines in code blocks (#25054) The comments inside some code blocks seems to be misplaced. The comment lines containing explanation about `default_key` behavior when operating with prompts are updated. --- docs/docs/how_to/configure.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/how_to/configure.ipynb b/docs/docs/how_to/configure.ipynb index 6ccc71ee738..b9228ce7a27 100644 --- a/docs/docs/how_to/configure.ipynb +++ b/docs/docs/how_to/configure.ipynb @@ -409,7 +409,7 @@ " # When configuring the end runnable, we can then use this id to configure this field\n", " ConfigurableField(id=\"prompt\"),\n", " # This sets a default_key.\n", - " # If we specify this key, the default LLM (ChatAnthropic initialized above) will be used\n", + " # If we specify this key, the default prompt (asking for a joke, as initialized above) will be used\n", " default_key=\"joke\",\n", " # This adds a new option, with name `poem`\n", " poem=PromptTemplate.from_template(\"Write a short poem about {topic}\"),\n", @@ -494,7 +494,7 @@ " # When configuring the end runnable, we can then use this id to configure this field\n", " ConfigurableField(id=\"prompt\"),\n", " # This sets a default_key.\n", - " # If we specify this key, the default LLM (ChatAnthropic initialized above) will be used\n", + " # If we specify this key, the default prompt (asking for a joke, as initialized above) will be used\n", " default_key=\"joke\",\n", " # This adds a new option, with name `poem`\n", " poem=PromptTemplate.from_template(\"Write a short poem about {topic}\"),\n",