Commit 14db1dc
Semantic cache interface update (#80)
Goals of this PR focus on improving the semantic cache interface in
RedisVL
- Remove the ability to pass in an index. This is not the preferred
methodology and currently breaks if the schema doesn't perfectly match
up. Remove references from Docs.
- Naming Conventions:
- ``index_name`` ➝ ``name``. Add deprecation warning.
- ``threshold`` --> ``distance_threshold``. Add deprecation warning.
- For the ``check()`` method, change ``fields`` --> ``return_fields``.
Add deprecation warning.
- Update all main cache interfaces, docs, and tests with these changes.
---------
Co-authored-by: Sam Partee <sam.partee@redis.com>1 parent 6a2809b commit 14db1dc
File tree
6 files changed
+492
-258
lines changed- docs/user_guide
- redisvl/llmcache
- tests
- integration
- unit
6 files changed
+492
-258
lines changed
0 commit comments