MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / batch_encode

Method batch_encode

methods/remem_agent.py:274–276  ·  view source on GitHub ↗

Batch encode (alias for encode, for interface compatibility).

(self, texts: List[str], **kwargs)

Source from the content-addressed store, hash-verified

272 all_embeddings.extend([np.zeros(dim) for _ in batch])
273
274 return np.array(all_embeddings)
275
276 def batch_encode(self, texts: List[str], **kwargs) -> np.ndarray:
277 """Batch encode (alias for encode, for interface compatibility)."""
278 return self.encode(texts, **kwargs)
279

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.95

Tested by

no test coverage detected