Speech
Speech provides microphone-based streaming speech recognition and AI voice conversation capabilities.
Signature:
Speech(robot: Robot, *, provider: str = "booster", **kwargs: Any) -> Speech
Description:
Create and initialize a Speech client.
Parameters:
Parameter | Type | Default | Description |
|---|---|---|---|
|
| Required | The bound robot instance. |
|
|
| Speech service provider name; currently only |
|
| - | Additional configuration passed to the selected provider. |
Returns:
Speech
An initialized Speech instance.
Raises:
ValueError: provider is not a registered speech service provider name.
Example:
from boosteros.brain import Speech
from boosteros.robots.booster import BoosterRobot
robot = BoosterRobot()
speech = Speech(robot)