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

Method embed_batch

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

Source from the content-addressed store, hash-verified

121 return _resize(vector, self.dimensions)
122
123 def embed_batch(self, texts: Iterable[str]) -> List[List[float]]:
124 return [self.embed(text) for text in texts]
125
126
127class HashEmbedding:

Callers

nothing calls this directly

Calls 1

embedMethod · 0.95

Tested by

no test coverage detected