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

Method embed_batch

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

Source from the content-addressed store, hash-verified

25 def embed(self, text: str) -> List[float]: ...
26
27 def embed_batch(self, texts: Iterable[str]) -> List[List[float]]: ...
28
29
30def _resize(vector: List[float], target_dim: int) -> List[float]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected