mirror of
https://github.com/ijaric/voice_assistant.git
synced 2025-05-24 14:33:26 +00:00
10 lines
327 B
Python
10 lines
327 B
Python
import pydantic
|
|
|
|
|
|
class HealthResponse(pydantic.BaseModel):
|
|
status: str = pydantic.Field(default=..., examples=["healthy"], description="Схема доступности сервиса")
|
|
|
|
|
|
class VoiceResponse(pydantic.BaseModel):
|
|
voice: bytes = pydantic.Field(default=..., description="Голосовой ответ")
|