Skip to content

Commit

Permalink
Clarify bind tools takes a list
Browse files Browse the repository at this point in the history
  • Loading branch information
rlancemartin committed Nov 19, 2024
1 parent 197b885 commit 73637e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/concepts/tool_calling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ The central concept to understand is that LangChain provides a standardized inte
The `.bind_tools()` method can be used to specify which tools are available for a model to call.

```python
model_with_tools = model.bind_tools([tools_list])
model_with_tools = model.bind_tools(tools_list)
```

As a specific example, let's take a function `multiply` and bind it as a tool to a model that supports tool calling.
Expand Down

0 comments on commit 73637e7

Please sign in to comment.