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

Function get_embedding_service

skills/embedding/scripts/embed.py:562–566  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

560
561
562def get_embedding_service() -> EmbeddingService:
563 global _default_service
564 if _default_service is None:
565 _default_service = EmbeddingService()
566 return _default_service
567
568
569def embed_text(text: str) -> List[float]:

Callers 4

prepare_paper_featuresFunction · 0.85
embed_textFunction · 0.85
embed_batchFunction · 0.85
cosine_similarityFunction · 0.85

Calls 1

EmbeddingServiceClass · 0.85

Tested by

no test coverage detected