You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using function calling pipeline and it works well but our function's returned data is always transformed by LLM once more in the end.
Is there a way to skip the last transformation step? Basic example is get_current_time example function that should return just:
Current Time = 16:51:26
but it returns it transformed as:
As for your question, the current time is:
Current Time = 16:51:26
So, the current time is 16:51:26.
Function code:
defget_current_time(
self,
) ->str:
""" Get the current time. :return: The current time. """now=datetime.now()
current_time=now.strftime("%H:%M:%S")
returnf"Current Time = {current_time}"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using function calling pipeline and it works well but our function's returned data is always transformed by LLM once more in the end.
Is there a way to skip the last transformation step? Basic example is get_current_time example function that should return just:
but it returns it transformed as:
Function code:
Beta Was this translation helpful? Give feedback.
All reactions