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
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
-
Hey everyone, is there any way to quickly access variables within the ProgramState?
Let me show you an example.
I am asking an LLM to generate a small JSON output, constrained by a regex.
The generated variable is called "value", as shown below.
I noticed that the model requires some time to elaborate the output, so I measured the time of each step.
It results that the whole time is dedicated to the extraction of the generated variable from the ProgramState object.
I was wondering if there was a quicker way to extract the variable from the object.
Thanks a lot for your kind support.
Beta Was this translation helpful? Give feedback.
All reactions