MCPcopy Create free account
hub / github.com/MemTensor/MemOS / get_node

Method get_node

src/memos/graph_dbs/base.py:97–105  ·  view source on GitHub ↗

Retrieve the metadata and content of a node. Args: id: Node identifier. include_embedding: with/without embedding Returns: Dictionary of node fields, or None if not found.

(self, id: str, include_embedding: bool = False, **kwargs)

Source from the content-addressed store, hash-verified

95 # Graph Query & Reasoning
96 @abstractmethod
97 def get_node(self, id: str, include_embedding: bool = False, **kwargs) -> dict[str, Any] | None:
98 """
99 Retrieve the metadata and content of a node.
100 Args:
101 id: Node identifier.
102 include_embedding: with/without embedding
103 Returns:
104 Dictionary of node fields, or None if not found.
105 """
106
107 @abstractmethod
108 def get_nodes(

Callers 15

query_diariesFunction · 0.45
get_relevant_subgraphMethod · 0.45
getMethod · 0.45
_parse_taskMethod · 0.45
_convert_id_to_nodeMethod · 0.45
semantics_feedbackMethod · 0.45
_feedback_memoryMethod · 0.45
_vec_queryMethod · 0.45
extract_edge_infoMethod · 0.45
test_get_nodeFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_get_nodeFunction · 0.36