Skip to content

Commit

Permalink
docs: Remove duplicated content from how to tools (#21821)
Browse files Browse the repository at this point in the history
Content is duplicated, and is covered in how to use chat models.
  • Loading branch information
eyurtsev authored May 17, 2024
1 parent e59afe2 commit 4ca2149
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 510 deletions.
8 changes: 3 additions & 5 deletions docs/docs/how_to/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,13 @@ Indexing is the process of keeping your vectorstore in-sync with the underlying

LangChain Tools contain a description of the tool (to pass to the language model) as well as the implementation of the function to call).

- [How to: use LangChain tools](/docs/how_to/tools)
- [How to: create tools](/docs/how_to/custom_tools)
- [How to: use a chat model to call tools](/docs/how_to/tool_calling/)
- [How to: use built-in LangChain tools](/docs/how_to/tools)
- [How to: use LangChain toolkits](/docs/how_to/toolkits)
- [How to: define a custom tool](/docs/how_to/custom_tools)
- [How to: use tools with LLMs that do not support tool calling natively](/docs/how_to/tools_prompting)
- [How to: convert LangChain tools to OpenAI functions](/docs/how_to/tools_as_openai_functions)
- [How to: use tools without function calling](/docs/how_to/tools_prompting)
- [How to: let the LLM choose between multiple tools](/docs/how_to/tools_multiple)
- [How to: add a human in the loop to tool usage](/docs/how_to/tools_human)
- [How to: do parallel tool use](/docs/how_to/tools_parallel)
- [How to: handle errors when calling tools](/docs/how_to/tools_error)
- [How to: call tools using multi-modal data](/docs/how_to/tool_calls_multi_modal)

Expand Down
19 changes: 2 additions & 17 deletions docs/docs/how_to/tools_chain.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@
"id": "616f9714-5b18-4eed-b88a-d38e4cb1de99",
"metadata": {},
"source": [
"Agents are also great because they make it easy to use multiple tools. To learn how to build Chains that use multiple tools, check out the [Chains with multiple tools](/docs/how_to/tools_multiple) page."
"Agents are also great because they make it easy to use multiple tools."
]
},
{
Expand Down Expand Up @@ -457,21 +457,6 @@
"source": [
"Check out the [LangSmith trace here](https://smith.langchain.com/public/eeeb27a4-a2f8-4f06-a3af-9c983f76146c/r)."
]
},
{
"cell_type": "markdown",
"id": "b0e4b7f4-58ce-4ca0-a986-d05a436a7ccf",
"metadata": {},
"source": [
"## Next steps\n",
"\n",
"Here we've gone over the basic ways to use Tools with Chains and Agents. We recommend the following sections to explore next:\n",
"\n",
"- [Agents](/docs/tutorials/agents): Everything related to Agents.\n",
"- [Choosing between multiple tools](/docs/how_to/tools_multiple): How to make tool chains that select from multiple tools.\n",
"- [Prompting for tool use](/docs/how_to/tools_prompting): How to make tool chains that prompt models directly, without using function-calling APIs.\n",
"- [Parallel tool use](/docs/how_to/tools_parallel): How to make tool chains that invoke multiple tools at once."
]
}
],
"metadata": {
Expand All @@ -490,7 +475,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.4"
"version": "3.11.4"
}
},
"nbformat": 4,
Expand Down
273 changes: 0 additions & 273 deletions docs/docs/how_to/tools_multiple.ipynb

This file was deleted.

Loading

0 comments on commit 4ca2149

Please sign in to comment.