From 182fc06769c9ed79f348332780adc7b807d0d412 Mon Sep 17 00:00:00 2001 From: "clement.l" Date: Fri, 28 Jun 2024 01:01:05 +0800 Subject: [PATCH] docs: Fix typo in LLMChain tutorial (#23593) When using `model_with_tools.invoke`, the `content` returns as an empty string. For more details, please refer to my [trace log](https://smith.langchain.com/public/6fd24bc4-86c4-4627-8565-9a8adaf4ad7d/r). --- docs/docs/tutorials/agents.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/tutorials/agents.ipynb b/docs/docs/tutorials/agents.ipynb index ee31d1e95d8..ee2cdbe4656 100644 --- a/docs/docs/tutorials/agents.ipynb +++ b/docs/docs/tutorials/agents.ipynb @@ -343,7 +343,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "ContentString: [{'id': 'toolu_01VTP7DUvSfgtYxsq9x4EwMp', 'input': {'query': 'weather san francisco'}, 'name': 'tavily_search_results_json', 'type': 'tool_use'}]\n", + "ContentString: \n", "ToolCalls: [{'name': 'tavily_search_results_json', 'args': {'query': 'weather san francisco'}, 'id': 'toolu_01VTP7DUvSfgtYxsq9x4EwMp'}]\n" ] } @@ -362,7 +362,7 @@ "source": [ "We can see that there's now no text content, but there is a tool call! It wants us to call the Tavily Search tool.\n", "\n", - "This isn't calling that tool yet - it's just telling us to. In order to actually calll it, we'll want to create our agent." + "This isn't calling that tool yet - it's just telling us to. In order to actually call it, we'll want to create our agent." ] }, {