Azure Speech Tool
This tool allows Agents to use Microsoft Azure speech services to transcribe audio files to text, and create audio files from text. To see more and get started, visit https://azure.microsoft.com/en-us/products/ai-services/ai-speech
Usage
This tool has a more extensive example usage documented in a Jupyter notebook here
from llama_index.tools.azure_speech import AzureSpeechToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
speech_tool = AzureSpeechToolSpec(speech_key="your-key", region="eastus")
agent = FunctionAgent(
tools=speech_tool.to_tool_list(),
llm=OpenAI(model="gpt-4.1"),
)
print(await agent.run('Say "hello world"'))
print(
await agent.run(
"summarize the data/speech.wav audio file into a few sentences"
)
)
text_to_speech: Takes an input string and synthesizes audio to play on the users computer
speech_to_text: Takes a .wav file and transcribes it into text
This loader is designed to be used as a way to load data as a Tool in a Agent.
Metadata
Release files for llama-index-tools-azure-speech 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_tools_azure_speech-0.6.0.tar.gz | 4.3 kB | Without provenance | Details for llama_index_tools_azure_speech-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_tools_azure_speech-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_tools_azure_speech-0.6.0-py3-none-any.whl |
Total release size: 8.4 kB
Release files / llama_index_tools_azure_speech-0.6.0.tar.gz
| Download URL | llama_index_tools_azure_speech-0.6.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d32f07ee003b67dfca900fef04c275f96f3196ad5353d15c225b8018baf042a3
|
|
BLAKE2b-256 checksum How to use checksums |
95f386d3ef65dc7349d63756845b3febcfa9bb89a36144311510410b89859496
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / llama_index_tools_azure_speech-0.6.0-py3-none-any.whl
| Download URL | llama_index_tools_azure_speech-0.6.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00473c92fc23e523db2b85f3d92559d5b5e2f51292003c2fa7c1bdfb747b8651
|
|
BLAKE2b-256 checksum How to use checksums |
025b505c672d1d378b0b20a15608928b0649848e425c338486ab22fad6522f70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for llama-index-tools-azure-speech 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.