r"""Generates embeddings for the given texts. Args: objs (list[T]): The objects for which to generate the embeddings. **kwargs (Any): Extra kwargs passed to the embedding API. Returns: list[list[float]]: A list that represents the
(
self,
objs: list[T],
**kwargs: Any,
)
| 24 | |
| 25 | @abstractmethod |
| 26 | def embed_list( |
| 27 | self, |
| 28 | objs: list[T], |
| 29 | **kwargs: Any, |
| 30 | ) -> list[list[float]]: |
| 31 | r"""Generates embeddings for the given texts. |
| 32 | |
| 33 | Args: |
| 34 | objs (list[T]): The objects for which to generate the embeddings. |
| 35 | **kwargs (Any): Extra kwargs passed to the embedding API. |
| 36 | |
| 37 | Returns: |
| 38 | list[list[float]]: A list that represents the |
| 39 | generated embedding as a list of floating-point numbers. |
| 40 | """ |
| 41 | pass |
| 42 | |
| 43 | def embed( |
| 44 | self, |