deepagents-graph-memory 0.1.0__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.
- deepagents_graph_memory/__init__.py +20 -0
- deepagents_graph_memory/backend.py +838 -0
- deepagents_graph_memory/errors.py +21 -0
- deepagents_graph_memory/ladybug_store.py +847 -0
- deepagents_graph_memory/paths.py +253 -0
- deepagents_graph_memory/py.typed +1 -0
- deepagents_graph_memory/recall.py +936 -0
- deepagents_graph_memory/renderers.py +199 -0
- deepagents_graph_memory/stores.py +378 -0
- deepagents_graph_memory/tools.py +193 -0
- deepagents_graph_memory/vgs.py +210 -0
- deepagents_graph_memory-0.1.0.dist-info/METADATA +770 -0
- deepagents_graph_memory-0.1.0.dist-info/RECORD +16 -0
- deepagents_graph_memory-0.1.0.dist-info/WHEEL +5 -0
- deepagents_graph_memory-0.1.0.dist-info/licenses/LICENSE +21 -0
- deepagents_graph_memory-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# - Gives graph problems clear names so the rest of the package can handle them.
|
|
2
|
+
# - Tests: test_paths.py and test_validation.py check errors for bad paths and unsafe data;
|
|
3
|
+
# test_optional_vgs_dependency.py checks the missing-LadybugDB message.
|
|
4
|
+
|
|
5
|
+
"""Error types for graph memory."""
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class GraphMemoryError(Exception):
|
|
9
|
+
"""Base exception for graph memory errors."""
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class GraphMemoryConfigurationError(GraphMemoryError):
|
|
13
|
+
"""Raised when graph memory is not configured correctly."""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class GraphMemoryPathError(GraphMemoryError):
|
|
17
|
+
"""Raised when a virtual graph path is invalid."""
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class GraphMemoryValidationError(GraphMemoryError):
|
|
21
|
+
"""Raised when a graph write payload fails validation."""
|