Find answers from the community

Updated 4 months ago

First question ☺: Is there an example

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
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/
is here the tool calling optional?
The tool calling is optional -- the LLM decides what tool to use, if anny
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