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 having difficulty understanding what the @guidance function tags do. As I understand it you generally have the flow:
lm= (somemodel)
@guidance(stateless=False)defop(lm):
lm+='some text to generate'returnlmlm+=op()
What does this actually translate to under the hood? How can I return multiple values from a function to capture information about the text that was generated for use by the caller?
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
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having difficulty understanding what the @guidance function tags do. As I understand it you generally have the flow:
What does this actually translate to under the hood? How can I return multiple values from a function to capture information about the text that was generated for use by the caller?
Beta Was this translation helpful? Give feedback.
All reactions