MCPcopy Create free account
hub / github.com/EternityJune25/ComoRAG / batch_encode

Method batch_encode

src/comorag/embedding_model/base.py:208–209  ·  view source on GitHub ↗
(self, texts: List[str], **kwargs)

Source from the content-addressed store, hash-verified

206 logger.debug(f"Init {self.__class__.__name__}'s embedding_model_name with: {self.embedding_model_name}")
207
208 def batch_encode(self, texts: List[str], **kwargs) -> None:
209 raise NotImplementedError
210
211
212 def get_query_doc_scores(self, query_vec: np.ndarray, doc_vecs: np.ndarray):

Callers 5

get_query_embeddingsMethod · 0.45
get_fact_scoresMethod · 0.45
insert_stringsMethod · 0.45
get_similar_summariesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected