8 lines
202 B
Python
8 lines
202 B
Python
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: ...
|