reme-ai 0.1.5__tar.gz → 0.1.7__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.
- {reme_ai-0.1.5/reme_ai.egg-info → reme_ai-0.1.7}/PKG-INFO +2 -2
- {reme_ai-0.1.5 → reme_ai-0.1.7}/pyproject.toml +2 -2
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/__init__.py +1 -1
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/service/personal_memory_service.py +2 -2
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/service/task_memory_service.py +3 -3
- {reme_ai-0.1.5 → reme_ai-0.1.7/reme_ai.egg-info}/PKG-INFO +2 -2
- reme_ai-0.1.7/reme_ai.egg-info/requires.txt +1 -0
- reme_ai-0.1.5/reme_ai.egg-info/requires.txt +0 -1
- {reme_ai-0.1.5 → reme_ai-0.1.7}/LICENSE +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/README.md +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/app.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/config/__init__.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/config/config_parser.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/config/default.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/constants/__init__.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/constants/common_constants.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/constants/language_constants.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/enumeration/__init__.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/enumeration/language_enum.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/react/__init__.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/react/simple_react_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/__init__.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/personal/__init__.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/personal/extract_time_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/personal/extract_time_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/personal/fuse_rerank_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/personal/print_memory_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/personal/print_memory_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/personal/read_message_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/personal/retrieve_memory_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/personal/semantic_rank_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/personal/set_query_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/task/__init__.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/task/build_query_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/task/build_query_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/task/merge_memory_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/task/rerank_memory_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/task/rerank_memory_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/task/rewrite_memory_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/retrieve/task/rewrite_memory_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/schema/__init__.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/schema/memory.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/service/__init__.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/service/base_memory_service.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/__init__.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/personal/__init__.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/personal/contra_repeat_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/personal/contra_repeat_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/personal/get_observation_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/personal/get_observation_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/personal/get_observation_with_time_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/personal/get_observation_with_time_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/personal/get_reflection_subject_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/personal/get_reflection_subject_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/personal/info_filter_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/personal/info_filter_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/personal/load_today_memory_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/personal/long_contra_repeat_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/personal/long_contra_repeat_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/personal/update_insight_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/personal/update_insight_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/task/__init__.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/task/comparative_extraction_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/task/comparative_extraction_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/task/failure_extraction_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/task/failure_extraction_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/task/memory_deduplication_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/task/memory_validation_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/task/memory_validation_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/task/simple_comparative_summary_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/task/simple_comparative_summary_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/task/simple_summary_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/task/simple_summary_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/task/success_extraction_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/task/success_extraction_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/task/trajectory_preprocess_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/task/trajectory_segmentation_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/task/trajectory_segmentation_prompt.yaml +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/utils/__init__.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/utils/datetime_handler.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/utils/op_utils.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/vector_store/__init__.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/vector_store/delete_memory_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/vector_store/recall_vector_store_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/vector_store/update_memory_freq_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/vector_store/update_memory_utility_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/vector_store/update_vector_store_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/vector_store/vector_store_action_op.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai.egg-info/SOURCES.txt +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai.egg-info/dependency_links.txt +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai.egg-info/entry_points.txt +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai.egg-info/top_level.txt +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/setup.cfg +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/test/test1.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/test/test2.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/test/test3.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/test/test4.py +0 -0
- {reme_ai-0.1.5 → reme_ai-0.1.7}/test/test_update_insight_op.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: reme_ai
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.7
|
4
4
|
Summary: Remember me
|
5
5
|
Author-email: "jinli.yl" <jinli.yl@alibaba-inc.com>, "dengjiaji.djj" <dengjiaji.djj@alibaba-inc.com>, "caozouying.czy" <caozouying.czy@alibaba-inc.com>
|
6
6
|
License: Apache License
|
@@ -212,7 +212,7 @@ Classifier: Operating System :: OS Independent
|
|
212
212
|
Requires-Python: >=3.11
|
213
213
|
Description-Content-Type: text/markdown
|
214
214
|
License-File: LICENSE
|
215
|
-
Requires-Dist: flowllm>=0.1.
|
215
|
+
Requires-Dist: flowllm>=0.1.6
|
216
216
|
Dynamic: license-file
|
217
217
|
|
218
218
|
English | [**中文**](./README_ZH.md)
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "reme_ai"
|
7
|
-
version = "0.1.
|
7
|
+
version = "0.1.7"
|
8
8
|
description = "Remember me"
|
9
9
|
authors = [
|
10
10
|
{ name = "jinli.yl", email = "jinli.yl@alibaba-inc.com" },
|
@@ -24,7 +24,7 @@ classifiers = [
|
|
24
24
|
keywords = ["llm", "memory", "experience", "memoryscope", "ai", "mcp", "http"]
|
25
25
|
|
26
26
|
dependencies = [
|
27
|
-
"flowllm>=0.1.
|
27
|
+
"flowllm>=0.1.6",
|
28
28
|
]
|
29
29
|
|
30
30
|
[tool.setuptools.packages.find]
|
@@ -38,7 +38,7 @@ class PersonalMemoryService(BaseMemoryService):
|
|
38
38
|
kwargs = {
|
39
39
|
"workspace_id": user_id,
|
40
40
|
"trajectories": [
|
41
|
-
{"messages":
|
41
|
+
{"messages": new_messages, "score": 1.0}
|
42
42
|
]
|
43
43
|
}
|
44
44
|
|
@@ -67,7 +67,7 @@ class PersonalMemoryService(BaseMemoryService):
|
|
67
67
|
raise ValueError(f"Invalid message type={type(message)}")
|
68
68
|
|
69
69
|
# Extract query from the last message
|
70
|
-
query =
|
70
|
+
query = new_messages[-1]["content"] if messages else ""
|
71
71
|
|
72
72
|
kwargs = {
|
73
73
|
"workspace_id": user_id,
|
@@ -38,7 +38,7 @@ class TaskMemoryService(BaseMemoryService):
|
|
38
38
|
kwargs = {
|
39
39
|
"workspace_id": user_id,
|
40
40
|
"trajectories": [
|
41
|
-
{"messages":
|
41
|
+
{"messages": new_messages, "score": 1.0}
|
42
42
|
]
|
43
43
|
}
|
44
44
|
|
@@ -68,8 +68,8 @@ class TaskMemoryService(BaseMemoryService):
|
|
68
68
|
|
69
69
|
kwargs = {
|
70
70
|
"workspace_id": user_id,
|
71
|
-
"messages":
|
72
|
-
"top_k": filters.get("top_k", 1)
|
71
|
+
"messages": new_messages,
|
72
|
+
"top_k": filters.get("top_k", 1) if filters else 1
|
73
73
|
}
|
74
74
|
|
75
75
|
result: FlowResponse = await retrieve_flow(**kwargs)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: reme_ai
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.7
|
4
4
|
Summary: Remember me
|
5
5
|
Author-email: "jinli.yl" <jinli.yl@alibaba-inc.com>, "dengjiaji.djj" <dengjiaji.djj@alibaba-inc.com>, "caozouying.czy" <caozouying.czy@alibaba-inc.com>
|
6
6
|
License: Apache License
|
@@ -212,7 +212,7 @@ Classifier: Operating System :: OS Independent
|
|
212
212
|
Requires-Python: >=3.11
|
213
213
|
Description-Content-Type: text/markdown
|
214
214
|
License-File: LICENSE
|
215
|
-
Requires-Dist: flowllm>=0.1.
|
215
|
+
Requires-Dist: flowllm>=0.1.6
|
216
216
|
Dynamic: license-file
|
217
217
|
|
218
218
|
English | [**中文**](./README_ZH.md)
|
@@ -0,0 +1 @@
|
|
1
|
+
flowllm>=0.1.6
|
@@ -1 +0,0 @@
|
|
1
|
-
flowllm>=0.1.5
|
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
|
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
|
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
|
File without changes
|
{reme_ai-0.1.5 → reme_ai-0.1.7}/reme_ai/summary/personal/get_observation_with_time_prompt.yaml
RENAMED
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
|
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
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|