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 am using SemanticCache to cache the LLM responses in my application, following this document. However, I am not getting any results using the Tag type filter.
Hi @simon-enosis thanks for opening this. We're looking into it. Currently, I'm unable to reproduce this issue on redisvl==0.3.1.
One possibility is that this semantic cache attached to an old index, maybe created in an earlier version of redisvl without the filter? Try creating the cache with a different name than llmcache (you can also drop the prefix arg).
Also, can you confirm the redisvl version? The redis-py version? And lastly, what is the output of MODULE LIST command on the database using the redis cli?
Hello @tylerhutcherson, thank you for your prompt response. It appears that if we create an index with a specific configuration and then attempt to add or modify the configuration later, the changes do not apply or overwrite the existing settings. Based on your reply, I removed the previous index and recreated it with the same name, and it is now working correctly.
Regarding the redisvl version, I initially tried version 0.3.1, but I encountered this issue. Since your documentation was last updated for version 0.3.0 with a stable tag, I downgraded it to 0.3.0 and am currently using this version.
I am closing this issue as it has been resolved, but it would be very helpful if this information is prominently highlighted in the documentation.
I am using
SemanticCache
to cache the LLM responses in my application, following this document. However, I am not getting any results using the Tag type filter.Here are some snippets of my code:
If I try to fetch without applying the filter, I am able to retrieve all the entries.
The text was updated successfully, but these errors were encountered: