diff --git a/docs/docs/how_to/index.mdx b/docs/docs/how_to/index.mdx index 58586e57b05..1fb57fab485 100644 --- a/docs/docs/how_to/index.mdx +++ b/docs/docs/how_to/index.mdx @@ -85,7 +85,7 @@ These are the core building blocks you can use when building applications. - [How to: stream tool calls](/docs/how_to/tool_streaming) - [How to: few shot prompt tool behavior](/docs/how_to/tools_few_shot) - [How to: bind model-specific formated tools](/docs/how_to/tools_model_specific) -- [How to: force specific tool call](/docs/how_to/tool_choice) +- [How to: force a specific tool call](/docs/how_to/tool_choice) - [How to: init any model in one line](/docs/how_to/chat_models_universal_init/) ### Messages diff --git a/docs/docs/how_to/tool_choice.ipynb b/docs/docs/how_to/tool_choice.ipynb index 050d6c6ce21..6aae687b779 100644 --- a/docs/docs/how_to/tool_choice.ipynb +++ b/docs/docs/how_to/tool_choice.ipynb @@ -6,6 +6,14 @@ "source": [ "# How to force tool calling behavior\n", "\n", + ":::info Prerequisites\n", + "\n", + "This guide assumes familiarity with the following concepts:\n", + "- [Chat models](/docs/concepts/#chat-models)\n", + "- [LangChain Tools](/docs/concepts/#tools)\n", + "- [How to use a model to call tools](/docs/how_to/tool_calling)\n", + ":::\n", + "\n", "In order to force our LLM to spelect a specific tool, we can use the `tool_choice` parameter to ensure certain behavior. First, let's define our model and tools:" ] }, diff --git a/docs/docs/how_to/tool_runtime.ipynb b/docs/docs/how_to/tool_runtime.ipynb index b846e3b36ad..12b7c992757 100644 --- a/docs/docs/how_to/tool_runtime.ipynb +++ b/docs/docs/how_to/tool_runtime.ipynb @@ -12,7 +12,7 @@ "- [Chat models](/docs/concepts/#chat-models)\n", "- [LangChain Tools](/docs/concepts/#tools)\n", "- [How to create tools](/docs/how_to/custom_tools)\n", - "- [How to use a model to call tools](https://python.langchain.com/v0.2/docs/how_to/tool_calling)\n", + "- [How to use a model to call tools](/docs/how_to/tool_calling)\n", ":::\n", "\n", ":::{.callout-info} Supported models\n",