Find answers from the community

Updated 2 months ago

LLMs Use Multiple Functions as Needed

At a glance

The community member in the post is asking whether large language models (LLMs) call all the functions they find necessary or just one. The comments provide some clarification, indicating that the LLM merely selects the tool(s) to call, and the user has to call them and feed them back into the context/chat history, assuming a lower-level API is being used rather than a pre-built agent. One comment also provides a link to an example of the lower-level API.

Useful resources
Also, do LLMs call all the functions they find necessary or just one? I have no time to test now.. I will have in 2 yours. Just anxious to know. if someone can clarify this to me, I'd be pleasured.
L
2 comments
the llm merely selects the tool(s) too call, you have to call them, and feed them back into the context/chat history (this is assuming you are using a lower-level api and not a prebuilt agent)
Add a reply
Sign up and join the conversation on Discord