mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-17 10:13:29 +00:00
Update Fireworks link (#23058)
This commit is contained in:
parent
6a66d8e2ca
commit
931b41b30f
@ -147,7 +147,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"# Tool Calling\n",
|
"# Tool Calling\n",
|
||||||
"\n",
|
"\n",
|
||||||
"Fireworks offers the [`FireFunction-v1` tool calling model](https://fireworks.ai/blog/firefunction-v1-gpt-4-level-function-calling). You can use it for structured output and function calling use cases:"
|
"Fireworks offers the `FireFunction-v2` tool calling model. You can use it for structured output and function calling use cases:"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -180,7 +180,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"\n",
|
"\n",
|
||||||
"chat = ChatFireworks(\n",
|
"chat = ChatFireworks(\n",
|
||||||
" model=\"accounts/fireworks/models/firefunction-v1\",\n",
|
" model=\"accounts/fireworks/models/firefunction-v2\",\n",
|
||||||
").bind_tools([ExtractFields])\n",
|
").bind_tools([ExtractFields])\n",
|
||||||
"\n",
|
"\n",
|
||||||
"result = chat.invoke(\"I am a 27 year old named Erick\")\n",
|
"result = chat.invoke(\"I am a 27 year old named Erick\")\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user