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
It seems that currently if we input the same prompt twice, for the second time Textgrad will automatically use the cached engine and return the cached results. However, in some cases, we want to generate different results each time. Therefore, can we add cache_result to the initialization of Textgrad Engine, so that it will cache results only if we set cache_result=True ?
The text was updated successfully, but these errors were encountered:
We agree with this. A priority led by @vinid will be to unify and improve our engine interface using LiteLLM or a package like this, and we will fix this. This comes from the research origins of the paper, and we will make it more usable!
It seems that currently if we input the same prompt twice, for the second time Textgrad will automatically use the cached engine and return the cached results. However, in some cases, we want to generate different results each time. Therefore, can we add
cache_result
to the initialization of Textgrad Engine, so that it will cache results only if we setcache_result=True
?The text was updated successfully, but these errors were encountered: