Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
😞
😐
😃
Powered by
Hall
Inactive
Updated 4 months ago
0
Follow
First question ☺: Is there an example
First question ☺: Is there an example
Inactive
0
Follow
S
Szécsényi Gergely
4 months ago
·
First question ☺️: Is there an example, where the tools and the Workflow steps are combined? I dont see the connection between an Agent with tool and a step. How can I integrate an optional tool calling into a step?
L
S
5 comments
Share
Open in Discord
L
Logan M
4 months ago
Hmm, maybe this would be helpful, an example of building an agent from scratch with workflows (it shows how to do the tool calling)
https://docs.llamaindex.ai/en/stable/examples/workflow/function_calling_agent/
S
Szécsényi Gergely
4 months ago
Thanks, I check it!
S
Szécsényi Gergely
4 months ago
is here the tool calling optional?
L
Logan M
4 months ago
The tool calling is optional -- the LLM decides what tool to use, if anny
L
Logan M
4 months ago
you can force a tool to be used by sending
llm.chat(..., tool_choice="required")
or
llm.chat(..., tool_choice="<tool name>")
(at least with openai)
Add a reply
Sign up and join the conversation on Discord
Join on Discord