tranny / App /Embedding /Schemas.py
Mbonea's picture
preparing search
86258ef
raw
history blame
404 Bytes
from typing import Optional
from pydantic import BaseModel
class BaseRequest(BaseModel):
userId: int
taskId: str
fileName: str
youtubeLink: Optional[str]
telegramId: Optional[str]
class SearchRequest(BaseModel):
# userId: int
taskId: str
query: str
# youtubeLink: Optional[str]
# telegramId: Optional[str]
class GetTranscriptions(BaseModel):
userId: int