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

Function embed_text

skills/embedding/scripts/embed.py:569–570  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

567 with ThreadPoolExecutor(max_workers=workers) as executor:
568 batch_results = list(executor.map(embed_one_batch, batches))
569 else:
570 batch_results = [embed_one_batch(batch) for batch in batches]
571
572 for pairs in batch_results:
573 for index, embedding in pairs:

Callers

nothing calls this directly

Calls 2

get_embedding_serviceFunction · 0.85
embed_textMethod · 0.45

Tested by

no test coverage detected