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’m currently working with an OpenAI chat client that includes function-calling capabilities. The problem I’m facing is that when the function is called, I need to have a way to know in my main thread (where I make the call) that the function has been triggered. This is important because I need to return some necessary data to my front end once the function is executed.
Could anyone suggest how I can achieve this? How can I be notified or track in my main thread that the function has been called successfully?
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
-
Hi everyone,
I’m currently working with an OpenAI chat client that includes function-calling capabilities. The problem I’m facing is that when the function is called, I need to have a way to know in my main thread (where I make the call) that the function has been triggered. This is important because I need to return some necessary data to my front end once the function is executed.
Could anyone suggest how I can achieve this? How can I be notified or track in my main thread that the function has been called successfully?
Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions