mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-30 08:12:53 +00:00
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).
This commit is contained in:
parent
5536420bee
commit
182fc06769
@ -343,7 +343,7 @@
|
|||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"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"
|
"ToolCalls: [{'name': 'tavily_search_results_json', 'args': {'query': 'weather san francisco'}, 'id': 'toolu_01VTP7DUvSfgtYxsq9x4EwMp'}]\n"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -362,7 +362,7 @@
|
|||||||
"source": [
|
"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",
|
"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",
|
"\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."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user