fastlane / models /query.py
Hugo Guarin
Update space
c169262
raw
history blame
267 Bytes
from typing import Optional, List, Dict
from pydantic import BaseModel
class Query(BaseModel):
text: str
intent: Optional[str] = None
entities: Optional[Dict] = None
keywords: Optional[List] = None
history: Optional[List[Dict[str, str]]] = None