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

Method insert

nano_graphrag/graphrag.py:228–230  ·  view source on GitHub ↗
(self, string_or_strings)

Source from the content-addressed store, hash-verified

226
227
228 def insert(self, string_or_strings):
229 loop = always_get_an_event_loop()
230 return loop.run_until_complete(self.ainsert(string_or_strings))
231
232 def query(self, query: str, param: QueryParam = QueryParam()):
233 loop = always_get_an_event_loop()

Callers 3

_build_semantic_graphMethod · 0.95
build_vector_indexMethod · 0.80
add_documentsMethod · 0.80

Calls 2

ainsertMethod · 0.95
always_get_an_event_loopFunction · 0.85

Tested by

no test coverage detected