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

Class FakeEmbeddingModule

experiments/tests/test_reading_report_flow.py:861–864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

859 return dot_product / (norm1 * norm2)
860
861 class FakeEmbeddingModule:
862 @staticmethod
863 def get_embedding_service():
864 return FakeEmbeddingService()
865
866 monkeypatch.setattr(reading_agent, "_load_embedding_module", lambda: FakeEmbeddingModule())
867

Calls

no outgoing calls