MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / embed_batch

Method embed_batch

paperflow/providers/embedding.py:152–153  ·  view source on GitHub ↗
(self, texts: Iterable[str])

Source from the content-addressed store, hash-verified

150 return vector
151
152 def embed_batch(self, texts: Iterable[str]) -> List[List[float]]:
153 return [self.embed(text) for text in texts]
154
155
156def _is_placeholder(value: Optional[str]) -> bool:

Callers 3

demoFunction · 0.45

Calls 1

embedMethod · 0.95

Tested by 1