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

Function embed_memory_item

examples/basic_modules/neo4j_example.py:41–42  ·  view source on GitHub ↗
(memory: str)

Source from the content-addressed store, hash-verified

39
40
41def embed_memory_item(memory: str) -> list[float]:
42 return embedder.embed([memory])[0]
43
44
45def get_neo4j_graph(db_name: str = "paper"):

Callers 4

example_multi_dbFunction · 0.85
example_shared_dbFunction · 0.85
run_user_sessionFunction · 0.85

Calls 1

embedMethod · 0.65

Tested by

no test coverage detected