(self, text: str)
| 66 | self._client = OpenAI(api_key=api_key, base_url=base_url, timeout=timeout) |
| 67 | |
| 68 | def embed(self, text: str) -> List[float]: |
| 69 | return self.embed_batch([text])[0] |
| 70 | |
| 71 | def embed_batch(self, texts: Iterable[str]) -> List[List[float]]: |
| 72 | inputs = [text or " " for text in texts] |
nothing calls this directly
no test coverage detected