| 18 | |
| 19 | |
| 20 | class EmbeddingProvider(Protocol): |
| 21 | name: str |
| 22 | model: str |
| 23 | dimensions: int |
| 24 | |
| 25 | def embed(self, text: str) -> List[float]: ... |
| 26 | |
| 27 | def embed_batch(self, texts: Iterable[str]) -> List[List[float]]: ... |
| 28 | |
| 29 | |
| 30 | def _resize(vector: List[float], target_dim: int) -> List[float]: |
nothing calls this directly
no outgoing calls
no test coverage detected