Add tts and stt capability to pydantic ai agent
Project description
pydantic-ai-speech
Add TTS (Text-to-Speech) and STT (Speech-to-Text) capabilities to Pydantic AI agents.
Installation
pip install pydantic-ai-speech
Usage
import pydantic_ai_speech
# Example usage
pydantic_ai_speech.greet()
CLI
After installation, you can use the built-in CLI:
speechy
Features
- Seamless integration with Pydantic AI agents.
- Support for ElevenLabs (TTS).
- Support for vLLM and other AI models.
- Toolsets for easy speech capability injection.
Development
To set up the development environment:
uv sync
To run tests:
uv run pytest
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydantic_ai_speech-0.1.0.tar.gz
(190.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydantic_ai_speech-0.1.0.tar.gz.
File metadata
- Download URL: pydantic_ai_speech-0.1.0.tar.gz
- Upload date:
- Size: 190.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f99b92b618a3b53292a1560453b4ba98d7b8a2050171da6f770b772791f1962
|
|
| MD5 |
0092f383148560f2e7762374a89d13ad
|
|
| BLAKE2b-256 |
dd82cfdb9be57efcc26f0369013ff23a347e3cf672f505dfb83aa20603f81bd9
|
File details
Details for the file pydantic_ai_speech-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pydantic_ai_speech-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90704e2a512f0726d49d945902f4d35376548b87cec7c96216ea8c4c2c70dc66
|
|
| MD5 |
c9dabd7b593b42523535b3c89cd5c8e1
|
|
| BLAKE2b-256 |
16efbbae210792dd01cf54cb131cbec01cabb67beca963de0fbf716f4f711b75
|