From 65315fcb94c1f3e220aabad80868fc2d3858c1c9 Mon Sep 17 00:00:00 2001 From: Mark Ericksen Date: Sun, 10 Nov 2024 15:17:23 -0700 Subject: [PATCH] updated the README example for `add_tools` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f06e3b26..e2ab7401 100644 --- a/README.md +++ b/README.md @@ -161,7 +161,7 @@ custom_fn = custom_context: custom_context, verbose: true }) - |> LLMChain.add_functions(custom_fn) + |> LLMChain.add_tools(custom_fn) |> LLMChain.add_message(Message.new_user!("Where is the hairbrush located?")) |> LLMChain.run(mode: :while_needs_response)