import abc from autogpt.core.configuration import SystemConfiguration from autogpt.core.resource.model_providers import AssistantChatMessage from .schema import ChatPrompt, LanguageModelClassification class PromptStrategy(abc.ABC): default_configuration: SystemConfiguration @property @abc.abstractmethod def model_classification(self) -> LanguageModelClassification: ... @abc.abstractmethod def build_prompt(self, *_, **kwargs) -> ChatPrompt: ... @abc.abstractmethod def parse_response_content(self, response_content: AssistantChatMessage): ...