from agi_med_common.models import ChatItem
from pydantic import BaseModel


class ContentInterpreterRemoteRequest(BaseModel):
    kind: str
    query: str
    resource_fname: str
    resource: bytes
    chat: ChatItem | None = None


class ContentInterpreterRemoteResponse(BaseModel):
    interpretation: str
    resource_fname: str
    resource: bytes


class ContentInterpreterRemoteAPI:
    def interpret_remote(self, request: ContentInterpreterRemoteRequest) -> ContentInterpreterRemoteResponse:
        raise NotImplementedError
