nvidia-nat-redis 1.4.0a20260130__py3-none-any.whl → 1.4.0a20260201__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nat/plugins/redis/redis_editor.py +4 -4
- {nvidia_nat_redis-1.4.0a20260130.dist-info → nvidia_nat_redis-1.4.0a20260201.dist-info}/METADATA +2 -2
- {nvidia_nat_redis-1.4.0a20260130.dist-info → nvidia_nat_redis-1.4.0a20260201.dist-info}/RECORD +8 -8
- {nvidia_nat_redis-1.4.0a20260130.dist-info → nvidia_nat_redis-1.4.0a20260201.dist-info}/WHEEL +0 -0
- {nvidia_nat_redis-1.4.0a20260130.dist-info → nvidia_nat_redis-1.4.0a20260201.dist-info}/entry_points.txt +0 -0
- {nvidia_nat_redis-1.4.0a20260130.dist-info → nvidia_nat_redis-1.4.0a20260201.dist-info}/licenses/LICENSE-3rd-party.txt +0 -0
- {nvidia_nat_redis-1.4.0a20260130.dist-info → nvidia_nat_redis-1.4.0a20260201.dist-info}/licenses/LICENSE.md +0 -0
- {nvidia_nat_redis-1.4.0a20260130.dist-info → nvidia_nat_redis-1.4.0a20260201.dist-info}/top_level.txt +0 -0
|
@@ -128,10 +128,10 @@ class RedisEditor(MemoryEditor):
|
|
|
128
128
|
logger.error("Failed to generate embedding: %s", e)
|
|
129
129
|
raise
|
|
130
130
|
|
|
131
|
-
# Create vector search query
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
131
|
+
# Create vector search query; escape special characters in user_id
|
|
132
|
+
escaped_user_id = user_id.replace("\\", "\\\\").replace("\"", "\\\"")
|
|
133
|
+
search_query = (Query(f'(@user_id:"{escaped_user_id}")=>[KNN {top_k} @embedding $vec AS score]').sort_by(
|
|
134
|
+
"score").return_fields("conversation", "user_id", "tags", "metadata", "memory", "score").dialect(2))
|
|
135
135
|
logger.debug("Created search query: %s", search_query)
|
|
136
136
|
logger.debug("Query string: %s", search_query.query_string())
|
|
137
137
|
|
{nvidia_nat_redis-1.4.0a20260130.dist-info → nvidia_nat_redis-1.4.0a20260201.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nvidia-nat-redis
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.0a20260201
|
|
4
4
|
Summary: Subpackage for Redis integration in NeMo Agent toolkit
|
|
5
5
|
Author: NVIDIA Corporation
|
|
6
6
|
Maintainer: NVIDIA Corporation
|
|
@@ -16,7 +16,7 @@ Requires-Python: <3.14,>=3.11
|
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE-3rd-party.txt
|
|
18
18
|
License-File: LICENSE.md
|
|
19
|
-
Requires-Dist: nvidia-nat==v1.4.
|
|
19
|
+
Requires-Dist: nvidia-nat==v1.4.0a20260201
|
|
20
20
|
Requires-Dist: redis<5.0.0,>=4.3.4
|
|
21
21
|
Dynamic: license-file
|
|
22
22
|
|
{nvidia_nat_redis-1.4.0a20260130.dist-info → nvidia_nat_redis-1.4.0a20260201.dist-info}/RECORD
RENAMED
|
@@ -2,14 +2,14 @@ nat/meta/pypi.md,sha256=BAi1_MjQHFjNWdFul67NeSrwTwBlzvsEu9rcXUKzOho,1095
|
|
|
2
2
|
nat/plugins/redis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
nat/plugins/redis/memory.py,sha256=Z_xxRi2mOxnVFwN3maoQNy6KMMJC_d8RrdiDxLLY8x0,2830
|
|
4
4
|
nat/plugins/redis/object_store.py,sha256=YttUfeRg-ipo--Jz8iCKbAvRgG0YG-j-5ZGpYN2Jjoc,2238
|
|
5
|
-
nat/plugins/redis/redis_editor.py,sha256=
|
|
5
|
+
nat/plugins/redis/redis_editor.py,sha256=YdYr3tLiQegkMlvOcMVbSQAliaAZTAmyDsKi3yWRbHQ,9855
|
|
6
6
|
nat/plugins/redis/redis_object_store.py,sha256=9hjvhDtehTFoP-iz2PhHw8QL1jLd0ivwtRfoTeZOZy4,4672
|
|
7
7
|
nat/plugins/redis/register.py,sha256=dk9o8B_k0QzUxU8JRxpAYyDfbh0xlENz3i0dzZuZI2Q,839
|
|
8
8
|
nat/plugins/redis/schema.py,sha256=fOFwnXPYCMzzEoFN8KNkU2_gMBNF0RCmeRTqccxD_aM,5594
|
|
9
|
-
nvidia_nat_redis-1.4.
|
|
10
|
-
nvidia_nat_redis-1.4.
|
|
11
|
-
nvidia_nat_redis-1.4.
|
|
12
|
-
nvidia_nat_redis-1.4.
|
|
13
|
-
nvidia_nat_redis-1.4.
|
|
14
|
-
nvidia_nat_redis-1.4.
|
|
15
|
-
nvidia_nat_redis-1.4.
|
|
9
|
+
nvidia_nat_redis-1.4.0a20260201.dist-info/licenses/LICENSE-3rd-party.txt,sha256=fOk5jMmCX9YoKWyYzTtfgl-SUy477audFC5hNY4oP7Q,284609
|
|
10
|
+
nvidia_nat_redis-1.4.0a20260201.dist-info/licenses/LICENSE.md,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
11
|
+
nvidia_nat_redis-1.4.0a20260201.dist-info/METADATA,sha256=hkrj8agdM62svVrj82Ipg408hVV6kVRm3ugekVw9_g8,1906
|
|
12
|
+
nvidia_nat_redis-1.4.0a20260201.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
13
|
+
nvidia_nat_redis-1.4.0a20260201.dist-info/entry_points.txt,sha256=nyS8t8L9CbRFIMlE70RQBtJXrflBP4Ltl5zAkIl44So,56
|
|
14
|
+
nvidia_nat_redis-1.4.0a20260201.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
|
|
15
|
+
nvidia_nat_redis-1.4.0a20260201.dist-info/RECORD,,
|
{nvidia_nat_redis-1.4.0a20260130.dist-info → nvidia_nat_redis-1.4.0a20260201.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|