How do i get the actual arguments called with the ...
# ask-ai
l
How do i get the actual arguments called with the function from:
llm.CalledFunction
g
To retrieve the actual arguments called with a function from
llm.CalledFunction
, you can access the
arguments
attribute of the
FunctionCallInfo
object within the
CalledFunction
. Here's a brief example:
Copy code
called_function = llm.CalledFunction(...)
arguments = called_function.call_info.arguments
This will give you a dictionary of the arguments used in the function call. Would you like more detail on this? Sources: - https://livekit-users.slack.com/archives/C07FY8WHGPM/p1733239980.044189 - https://livekit-users.slack.com/archives/C07FY8WHGPM/p1733148578.269969 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.