diff options
Diffstat (limited to 'rag/generator/abstract.py')
-rw-r--r-- | rag/generator/abstract.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/rag/generator/abstract.py b/rag/generator/abstract.py index 71edfc4..1beacfb 100644 --- a/rag/generator/abstract.py +++ b/rag/generator/abstract.py @@ -1,5 +1,5 @@ from abc import abstractmethod -from typing import Any, Dict, Generator, List +from typing import Any, Generator from .prompt import Prompt @@ -16,9 +16,3 @@ class AbstractGenerator(type): @abstractmethod def generate(self, prompt: Prompt) -> Generator[Any, Any, Any]: pass - - @abstractmethod - def chat( - self, prompt: Prompt, messages: List[Dict[str, str]] - ) -> Generator[Any, Any, Any]: - pass |