denselinkage.core.ports.Embedder¶
- class denselinkage.core.ports.Embedder(*args, **kwargs)[source]¶
Bases:
ProtocolMaps text to dense vectors.
encodeis the v1 workhorse;model_idandembedding_dimare reserved provenance / validation surface (see their docstrings). They stay on the port even though the v1 link path does not call them: adding a port member after the freeze is breaking, whereas removing an unused one later is cheap, so the asymmetry favours keeping them (ADR-0003).