From 6716379f0c8ba18f653e339160a5cf631cbd8c94 Mon Sep 17 00:00:00 2001 From: Jacob Lee Date: Mon, 15 Jul 2024 23:08:21 -0700 Subject: [PATCH] docs[patch]: Fix rendering issue in code splitter page (#24291) --- docs/docs/how_to/code_splitter.ipynb | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/docs/docs/how_to/code_splitter.ipynb b/docs/docs/how_to/code_splitter.ipynb index 231ce86c9b4b4..7e23955882d82 100644 --- a/docs/docs/how_to/code_splitter.ipynb +++ b/docs/docs/how_to/code_splitter.ipynb @@ -300,7 +300,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 2, "id": "ac9295d3", "metadata": {}, "outputs": [], @@ -312,10 +312,8 @@ "\n", "## Quick Install\n", "\n", - "```bash\n", "# Hopefully this code block isn't split\n", "pip install langchain\n", - "```\n", "\n", "As an open-source project in a rapidly developing field, we are extremely open to contributions.\n", "\"\"\"" @@ -323,7 +321,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 3, "id": "3a0cb17a", "metadata": {}, "outputs": [ @@ -332,15 +330,14 @@ "text/plain": [ "[Document(page_content='# 🦜️🔗 LangChain'),\n", " Document(page_content='⚡ Building applications with LLMs through composability ⚡'),\n", - " Document(page_content='## Quick Install\\n\\n```bash'),\n", + " Document(page_content='## Quick Install'),\n", " Document(page_content=\"# Hopefully this code block isn't split\"),\n", " Document(page_content='pip install langchain'),\n", - " Document(page_content='```'),\n", " Document(page_content='As an open-source project in a rapidly developing field, we'),\n", " Document(page_content='are extremely open to contributions.')]" ] }, - "execution_count": 9, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" } @@ -742,7 +739,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.4" + "version": "3.10.5" } }, "nbformat": 4,