docs: agents tutorial wording (#22447)

This commit is contained in:
Isaac Francisco 2024-06-03 14:40:01 -07:00 committed by GitHub
parent 52da6a160d
commit 5119ab2fb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -181,7 +181,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 2,
"id": "482ce13d", "id": "482ce13d",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -228,7 +228,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 3,
"id": "69185491", "id": "69185491",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -251,7 +251,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 4,
"id": "c96c960b", "id": "c96c960b",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -283,7 +283,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 6, "execution_count": 5,
"id": "ba692a74", "id": "ba692a74",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -301,7 +301,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 7, "execution_count": 6,
"id": "b6a7e925", "id": "b6a7e925",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -331,7 +331,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 8, "execution_count": 7,
"id": "688b465d", "id": "688b465d",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -339,8 +339,8 @@
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"ContentString: [{'id': 'toolu_01TSdZjtqppPVYyvrYvsok6d', 'input': {'query': 'san francisco weather'}, 'name': 'tavily_search_results_json', 'type': 'tool_use'}]\n", "ContentString: [{'id': 'toolu_01VTP7DUvSfgtYxsq9x4EwMp', 'input': {'query': 'weather san francisco'}, 'name': 'tavily_search_results_json', 'type': 'tool_use'}]\n",
"ToolCalls: [{'name': 'tavily_search_results_json', 'args': {'query': 'san francisco weather'}, 'id': 'toolu_01TSdZjtqppPVYyvrYvsok6d'}]\n" "ToolCalls: [{'name': 'tavily_search_results_json', 'args': {'query': 'weather san francisco'}, 'id': 'toolu_01VTP7DUvSfgtYxsq9x4EwMp'}]\n"
] ]
} }
], ],
@ -356,7 +356,7 @@
"id": "83c4bcd3", "id": "83c4bcd3",
"metadata": {}, "metadata": {},
"source": [ "source": [
"We can see that there's now no 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 calll it, we'll want to create our agent."
] ]
@ -745,7 +745,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.11.2" "version": "3.12.3"
} }
}, },
"nbformat": 4, "nbformat": 4,