Skip to content

Commit

Permalink
updated the README example for add_tools
Browse files Browse the repository at this point in the history
  • Loading branch information
brainlid committed Nov 10, 2024
1 parent 2933973 commit 65315fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 65315fc

Please sign in to comment.