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

Function embed_batch

skills/embedding/scripts/embed.py:573–574  ·  view source on GitHub ↗
(texts: List[str])

Source from the content-addressed store, hash-verified

571
572
573def embed_batch(texts: List[str]) -> List[List[float]]:
574 return get_embedding_service().embed_batch(texts)
575
576
577def cosine_similarity(vector1: List[float], vector2: List[float]) -> float:

Callers 1

prepare_paper_featuresFunction · 0.85

Calls 2

get_embedding_serviceFunction · 0.85
embed_batchMethod · 0.45

Tested by

no test coverage detected