from typing import List

from pydantic import BaseModel

from app.models.common import SourceMetadata


class QueryRequest(BaseModel):
    question: str


class QueryResponse(BaseModel):
    keywords: List[str]
    answer: str
    sources: List[SourceMetadata]
