-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turn off cache in Textgrad #107
Comments
Definitely, and caching should be made explicit! It took me a while to figure it out... |
For anyone looking to fix this, I temporarily nuke the cache. Here's an example on Debian: rm -rf ~/.cache/textgrad/ |
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! |
This should be supported by the new engines! Let us know if they work as expected! |
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: