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

Method query

nano_graphrag/graphrag.py:232–234  ·  view source on GitHub ↗
(self, query: str, param: QueryParam = QueryParam())

Source from the content-addressed store, hash-verified

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()
234 return loop.run_until_complete(self.aquery(query, param))
235
236 async def aquery(self, query: str, param: QueryParam = QueryParam()):
237 if param.mode == "local" and not self.enable_local:

Callers 2

naive_queryFunction · 0.45

Calls 3

aqueryMethod · 0.95
QueryParamClass · 0.85
always_get_an_event_loopFunction · 0.85

Tested by

no test coverage detected