from __future__ import annotations

from typing import Protocol


class TextGenerator(Protocol):
    def generate(self, prompt_name: str, user_input: str, *, log_context: str | None = None) -> str: ...
