Add tts/text output schema
This commit is contained in:
@@ -268,6 +268,7 @@ class AssistantBase(BaseModel):
|
||||
prompt: str = ""
|
||||
knowledgeBaseId: Optional[str] = None
|
||||
language: str = "zh"
|
||||
voiceOutputEnabled: bool = True
|
||||
voice: Optional[str] = None
|
||||
speed: float = 1.0
|
||||
hotwords: List[str] = []
|
||||
@@ -293,6 +294,7 @@ class AssistantUpdate(BaseModel):
|
||||
prompt: Optional[str] = None
|
||||
knowledgeBaseId: Optional[str] = None
|
||||
language: Optional[str] = None
|
||||
voiceOutputEnabled: Optional[bool] = None
|
||||
voice: Optional[str] = None
|
||||
speed: Optional[float] = None
|
||||
hotwords: Optional[List[str]] = None
|
||||
|
||||
Reference in New Issue
Block a user