Skip to content

Commit

Permalink
Update fireworks_langchain_tool_usage.ipynb (#65)
Browse files Browse the repository at this point in the history
fix langchain tutorial
  • Loading branch information
devashishtyagi authored Feb 9, 2024
1 parent 9bf90eb commit e799e3d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/function_calling/fireworks_langchain_tool_usage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"outputs": [],
"source": [
"!pip install langchain openai langchain_openai langchainhub"
"!pip install langchain openai langchain_openai langchainhub numexpr"
]
},
{
Expand Down Expand Up @@ -204,7 +204,7 @@
"source": [
"## Test Calculator\n",
"\n",
"Now let's test it's ability to detect a mathemetical question & route the query accordingly."
"Now let's test it's ability to detect a mathematical question & route the query accordingly."
],
"metadata": {
"id": "jL0hyeYCOikE"
Expand All @@ -213,7 +213,7 @@
{
"cell_type": "code",
"source": [
"print(agent.invoke({\"input\": \"What is 100 devided by 25?\"}))"
"print(agent.invoke({\"input\": \"What is 100 divided by 25?\"}))"
],
"metadata": {
"colab": {
Expand Down Expand Up @@ -263,7 +263,7 @@
"\u001b[36;1m\u001b[1;3mAnswer: 4.0\u001b[0m\u001b[32;1m\u001b[1;3mThe answer is 4.0. \u001b[0m\n",
"\n",
"\u001b[1m> Finished chain.\u001b[0m\n",
"{'input': 'What is 100 devided by 25?', 'output': 'The answer is 4.0. '}\n"
"{'input': 'What is 100 divided by 25?', 'output': 'The answer is 4.0. '}\n"
]
}
]
Expand All @@ -273,11 +273,11 @@
"source": [
"# Conclusion\n",
"\n",
"The fireworks function calling model is able to route reuqest to external tools or internal knowledge appropriately - thus helping developers build co-operative agents."
"The fireworks function calling model can route request to external tools or internal knowledge appropriately - thus helping developers build co-operative agents."
],
"metadata": {
"id": "XFrp6ckCOyYt"
}
}
]
}
}

0 comments on commit e799e3d

Please sign in to comment.