| from abc import ABC, abstractmethod | |
| from typing import Any | |
| class ILLMRunner(ABC): | |
| Type: str = "BaseLLM" | |
| IsEnabled: bool = True | |
| IsStateStarting: bool = False | |
| IsStateFailed: bool = False | |
| async def StartProcess(self, llmServiceObj: dict) -> None: ... | |
| async def RemoveProcess(self, sessionId: str) -> None: ... | |
| async def StopRequest(self, sessionId: str) -> None: ... | |
| async def SendInputAndGetResponse(self, llmServiceObj: dict) -> None: ... | |