Skip to main content

aspeech

AsyncMethod
This is a method of the AudioAgent class in the audio_agent module.
Async version of speech().

Signature

async def aspeech(text: str, output: Optional[str], voice: Optional[str], speed: Optional[float], response_format: Optional[str], model: Optional[str]) -> Any

Parameters

text
str
required
No description available.
output
Optional
No description available.
voice
Optional
No description available.
speed
Optional
No description available.
response_format
Optional
No description available.
model
Optional
No description available.

Returns

Returns
Any
The result of the operation.

Uses

  • aspeech
  • response.stream_to_file
  • Path

Used By

Source

View on GitHub

praisonaiagents/agent/audio_agent.py at line 276