cuemap 0.6.2__tar.gz → 0.6.4__tar.gz
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.
- {cuemap-0.6.2/cuemap.egg-info → cuemap-0.6.4}/PKG-INFO +3 -3
- {cuemap-0.6.2 → cuemap-0.6.4}/README.md +1 -1
- {cuemap-0.6.2 → cuemap-0.6.4}/cuemap/client.py +28 -8
- {cuemap-0.6.2 → cuemap-0.6.4/cuemap.egg-info}/PKG-INFO +3 -3
- {cuemap-0.6.2 → cuemap-0.6.4}/pyproject.toml +2 -2
- {cuemap-0.6.2 → cuemap-0.6.4}/LICENSE +0 -0
- {cuemap-0.6.2 → cuemap-0.6.4}/MANIFEST.in +0 -0
- {cuemap-0.6.2 → cuemap-0.6.4}/cuemap/__init__.py +0 -0
- {cuemap-0.6.2 → cuemap-0.6.4}/cuemap/exceptions.py +0 -0
- {cuemap-0.6.2 → cuemap-0.6.4}/cuemap/grounding.py +0 -0
- {cuemap-0.6.2 → cuemap-0.6.4}/cuemap/models.py +0 -0
- {cuemap-0.6.2 → cuemap-0.6.4}/cuemap.egg-info/SOURCES.txt +0 -0
- {cuemap-0.6.2 → cuemap-0.6.4}/cuemap.egg-info/dependency_links.txt +0 -0
- {cuemap-0.6.2 → cuemap-0.6.4}/cuemap.egg-info/requires.txt +0 -0
- {cuemap-0.6.2 → cuemap-0.6.4}/cuemap.egg-info/top_level.txt +0 -0
- {cuemap-0.6.2 → cuemap-0.6.4}/examples/pure_usage.py +0 -0
- {cuemap-0.6.2 → cuemap-0.6.4}/examples/with_local_llm.py +0 -0
- {cuemap-0.6.2 → cuemap-0.6.4}/examples/with_openai.py +0 -0
- {cuemap-0.6.2 → cuemap-0.6.4}/setup.cfg +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cuemap
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.4
|
|
4
4
|
Summary: CueMap Python SDK - High-performance temporal-associative memory
|
|
5
|
-
Author-email:
|
|
5
|
+
Author-email: Kaan Demirel <hello@cuemap.dev>
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://github.com/cuemap-dev/sdks
|
|
8
8
|
Project-URL: Documentation, https://github.com/cuemap-dev/sdks/blob/main/python/README.md
|
|
@@ -226,7 +226,7 @@ async with AsyncCueMap() as client:
|
|
|
226
226
|
## Performance
|
|
227
227
|
|
|
228
228
|
- **Write Latency**: ~2ms (O(1) complexity)
|
|
229
|
-
- **Read Latency**: ~
|
|
229
|
+
- **Read Latency**: ~3ms (P99, 1M memories)
|
|
230
230
|
|
|
231
231
|
## License
|
|
232
232
|
|
|
@@ -101,12 +101,14 @@ class CueMap:
|
|
|
101
101
|
cues: Optional[List[str]] = None,
|
|
102
102
|
projects: Optional[List[str]] = None,
|
|
103
103
|
limit: int = 10,
|
|
104
|
+
depth: int = 1,
|
|
104
105
|
auto_reinforce: bool = False,
|
|
105
106
|
min_intersection: Optional[int] = None,
|
|
106
107
|
explain: bool = False,
|
|
107
108
|
disable_pattern_completion: bool = False,
|
|
108
109
|
disable_salience_bias: bool = False,
|
|
109
|
-
disable_systems_consolidation: bool = False
|
|
110
|
+
disable_systems_consolidation: bool = False,
|
|
111
|
+
disable_alias_expansion: bool = False
|
|
110
112
|
) -> List[RecallResult]:
|
|
111
113
|
"""
|
|
112
114
|
Recall memories by cues or natural language.
|
|
@@ -130,11 +132,13 @@ class CueMap:
|
|
|
130
132
|
"""
|
|
131
133
|
payload = {
|
|
132
134
|
"limit": limit,
|
|
135
|
+
"depth": depth,
|
|
133
136
|
"auto_reinforce": auto_reinforce,
|
|
134
137
|
"explain": explain,
|
|
135
138
|
"disable_pattern_completion": disable_pattern_completion,
|
|
136
139
|
"disable_salience_bias": disable_salience_bias,
|
|
137
|
-
"disable_systems_consolidation": disable_systems_consolidation
|
|
140
|
+
"disable_systems_consolidation": disable_systems_consolidation,
|
|
141
|
+
"disable_alias_expansion": disable_alias_expansion
|
|
138
142
|
}
|
|
139
143
|
if cues:
|
|
140
144
|
payload["cues"] = cues
|
|
@@ -168,9 +172,12 @@ class CueMap:
|
|
|
168
172
|
token_budget: int = 500,
|
|
169
173
|
limit: int = 10,
|
|
170
174
|
projects: Optional[List[str]] = None,
|
|
175
|
+
auto_reinforce: bool = True,
|
|
176
|
+
min_intersection: Optional[int] = None,
|
|
171
177
|
disable_pattern_completion: bool = False,
|
|
172
178
|
disable_salience_bias: bool = False,
|
|
173
|
-
disable_systems_consolidation: bool = False
|
|
179
|
+
disable_systems_consolidation: bool = False,
|
|
180
|
+
disable_alias_expansion: bool = False
|
|
174
181
|
) -> Dict[str, Any]:
|
|
175
182
|
"""
|
|
176
183
|
Recall grounded context with token budgeting.
|
|
@@ -187,9 +194,12 @@ class CueMap:
|
|
|
187
194
|
"token_budget": token_budget,
|
|
188
195
|
"limit": limit,
|
|
189
196
|
"projects": projects,
|
|
197
|
+
"auto_reinforce": auto_reinforce,
|
|
198
|
+
"min_intersection": min_intersection,
|
|
190
199
|
"disable_pattern_completion": disable_pattern_completion,
|
|
191
200
|
"disable_salience_bias": disable_salience_bias,
|
|
192
|
-
"disable_systems_consolidation": disable_systems_consolidation
|
|
201
|
+
"disable_systems_consolidation": disable_systems_consolidation,
|
|
202
|
+
"disable_alias_expansion": disable_alias_expansion
|
|
193
203
|
},
|
|
194
204
|
headers=self._headers()
|
|
195
205
|
)
|
|
@@ -545,21 +555,25 @@ class AsyncCueMap:
|
|
|
545
555
|
cues: Optional[List[str]] = None,
|
|
546
556
|
projects: Optional[List[str]] = None,
|
|
547
557
|
limit: int = 10,
|
|
558
|
+
depth: int = 1,
|
|
548
559
|
auto_reinforce: bool = False,
|
|
549
560
|
min_intersection: Optional[int] = None,
|
|
550
561
|
explain: bool = False,
|
|
551
562
|
disable_pattern_completion: bool = False,
|
|
552
563
|
disable_salience_bias: bool = False,
|
|
553
|
-
disable_systems_consolidation: bool = False
|
|
564
|
+
disable_systems_consolidation: bool = False,
|
|
565
|
+
disable_alias_expansion: bool = False
|
|
554
566
|
) -> List[RecallResult]:
|
|
555
567
|
"""Recall memories (async)."""
|
|
556
568
|
payload = {
|
|
557
569
|
"limit": limit,
|
|
570
|
+
"depth": depth,
|
|
558
571
|
"auto_reinforce": auto_reinforce,
|
|
559
572
|
"explain": explain,
|
|
560
573
|
"disable_pattern_completion": disable_pattern_completion,
|
|
561
574
|
"disable_salience_bias": disable_salience_bias,
|
|
562
|
-
"disable_systems_consolidation": disable_systems_consolidation
|
|
575
|
+
"disable_systems_consolidation": disable_systems_consolidation,
|
|
576
|
+
"disable_alias_expansion": disable_alias_expansion
|
|
563
577
|
}
|
|
564
578
|
if cues:
|
|
565
579
|
payload["cues"] = cues
|
|
@@ -593,9 +607,12 @@ class AsyncCueMap:
|
|
|
593
607
|
token_budget: int = 500,
|
|
594
608
|
limit: int = 10,
|
|
595
609
|
projects: Optional[List[str]] = None,
|
|
610
|
+
auto_reinforce: bool = True,
|
|
611
|
+
min_intersection: Optional[int] = None,
|
|
596
612
|
disable_pattern_completion: bool = False,
|
|
597
613
|
disable_salience_bias: bool = False,
|
|
598
|
-
disable_systems_consolidation: bool = False
|
|
614
|
+
disable_systems_consolidation: bool = False,
|
|
615
|
+
disable_alias_expansion: bool = False
|
|
599
616
|
) -> Dict[str, Any]:
|
|
600
617
|
"""Recall grounded context (async)."""
|
|
601
618
|
response = await self.client.post(
|
|
@@ -605,9 +622,12 @@ class AsyncCueMap:
|
|
|
605
622
|
"token_budget": token_budget,
|
|
606
623
|
"limit": limit,
|
|
607
624
|
"projects": projects,
|
|
625
|
+
"auto_reinforce": auto_reinforce,
|
|
626
|
+
"min_intersection": min_intersection,
|
|
608
627
|
"disable_pattern_completion": disable_pattern_completion,
|
|
609
628
|
"disable_salience_bias": disable_salience_bias,
|
|
610
|
-
"disable_systems_consolidation": disable_systems_consolidation
|
|
629
|
+
"disable_systems_consolidation": disable_systems_consolidation,
|
|
630
|
+
"disable_alias_expansion": disable_alias_expansion
|
|
611
631
|
},
|
|
612
632
|
headers=self._headers()
|
|
613
633
|
)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cuemap
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.4
|
|
4
4
|
Summary: CueMap Python SDK - High-performance temporal-associative memory
|
|
5
|
-
Author-email:
|
|
5
|
+
Author-email: Kaan Demirel <hello@cuemap.dev>
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://github.com/cuemap-dev/sdks
|
|
8
8
|
Project-URL: Documentation, https://github.com/cuemap-dev/sdks/blob/main/python/README.md
|
|
@@ -226,7 +226,7 @@ async with AsyncCueMap() as client:
|
|
|
226
226
|
## Performance
|
|
227
227
|
|
|
228
228
|
- **Write Latency**: ~2ms (O(1) complexity)
|
|
229
|
-
- **Read Latency**: ~
|
|
229
|
+
- **Read Latency**: ~3ms (P99, 1M memories)
|
|
230
230
|
|
|
231
231
|
## License
|
|
232
232
|
|
|
@@ -4,14 +4,14 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "cuemap"
|
|
7
|
-
version = "0.6.
|
|
7
|
+
version = "0.6.4"
|
|
8
8
|
description = "CueMap Python SDK - High-performance temporal-associative memory"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.8"
|
|
11
11
|
license = {text = "MIT"}
|
|
12
12
|
keywords = ["ai", "memory", "agents", "temporal", "associative", "llm", "rag"]
|
|
13
13
|
authors = [
|
|
14
|
-
{name = "
|
|
14
|
+
{name = "Kaan Demirel", email = "hello@cuemap.dev"}
|
|
15
15
|
]
|
|
16
16
|
classifiers = [
|
|
17
17
|
"Development Status :: 4 - Beta",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|