Skip to content

Commit

Permalink
Fix bug in tool calling article
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed Dec 11, 2024
1 parent 6f3569e commit 9d4ddf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tool-calling.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ get_current_temperature(46.7867, -92.1005)
In order for the LLM to make use of our tool, we need to register it with the `chat` object. This is done by calling the `register_tool` method on the chat object.

```{python}
chat.register_tool(get_current_time)
chat.register_tool(get_current_temperature)
```

Now let's retry our original question:
Expand Down

0 comments on commit 9d4ddf5

Please sign in to comment.