MCPcopy Create free account
hub / github.com/Exorust/Adkit-MCP / query

Method query

tests/test_match_service.py:74–80  ·  view source on GitHub ↗
(self, vector, vector_filter, top_k)

Source from the content-addressed store, hash-verified

72 self.last_query_args: dict | None = None
73
74 def query(self, vector, vector_filter, top_k):
75 self.last_query_args = {
76 "vector": vector,
77 "vector_filter": vector_filter,
78 "top_k": top_k,
79 }
80 return self.hits[:top_k]
81
82 # Stubs for VectorStorePort mutations (not exercised in match tests)
83 def ensure_collection(self, dimension): ...

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected