MCPcopy Create free account
hub / github.com/Enfoirer/Text2GraphRAG / upsert

Method upsert

nano_graphrag/base.py:85–89  ·  view source on GitHub ↗

Use 'content' field from value for embedding, use key as id. If embedding_func is None, use 'embedding' field from value

(self, data: dict[str, dict])

Source from the content-addressed store, hash-verified

83 raise NotImplementedError
84
85 async def upsert(self, data: dict[str, dict]):
86 """Use 'content' field from value for embedding, use key as id.
87 If embedding_func is None, use 'embedding' field from value
88 """
89 raise NotImplementedError
90
91
92@dataclass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected