File size: 249 Bytes
e454383
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
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]