frontend / responses.py
deven367's picture
format
0ec77d5
raw
history blame contribute delete
277 Bytes
from typing import List, Optional
from pydantic import BaseModel
class GetQuestionAndFactsResponse(BaseModel):
question: str
facts: Optional[List[str]]
status: str
class SubmitQuestionAndDocumentsResponse(BaseModel):
question: str
documents: List[str]