MCPcopy Create free account
hub / github.com/DVampire/FinAgent / query

Method query

finagent/memory/basic_memory.py:71–77  ·  view source on GitHub ↗
(self,
              data: Dict,
              embedding_query: str,
              top_k: int = 3,
              **kwargs)

Source from the content-addressed store, hash-verified

69 return items, scores
70
71 def query(self,
72 data: Dict,
73 embedding_query: str,
74 top_k: int = 3,
75 **kwargs) -> Tuple[List[Dict[str, Any]], List[float]]:
76 items, scores = self.similarity_search(data, embedding_query, top_k=top_k, **kwargs)
77 return items, scores
78
79 def load_local(
80 self,

Callers

nothing calls this directly

Calls 1

similarity_searchMethod · 0.95

Tested by

no test coverage detected