test / _backend /utils /query_json_structures.py
aiioe's picture
Automated build & deploy
e454383 verified
Raw History Blame Contribute Delete
249 Bytes
from pydantic import BaseModel
from typing import Optional
class RangeQueryStructure(BaseModel):
gte: int
lte: int
class TranscriptQueryStructure(BaseModel):
speaker: Optional[str]
timestamp_seconds: Optional[RangeQueryStructure]