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

Method query

nano_graphrag/base.py:82–83  ·  view source on GitHub ↗
(self, query: str, top_k: int)

Source from the content-addressed store, hash-verified

80 meta_fields: set = field(default_factory=set)
81
82 async def query(self, query: str, top_k: int) -> list[dict]:
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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected