"""Эмбеддер на базе GigaChat API."""

from app.modules.shared.gigachat.client import GigaChatClient


class GigaChatEmbedder:
    def __init__(self, client: GigaChatClient) -> None:
        self._client = client

    def embed(self, texts: list[str]) -> list[list[float]]:
        return self._client.embed(texts)
