Name | llama-index-tools-elevenlabs JSON |
Version |
0.1.0
JSON |
| download |
home_page | None |
Summary | llama-index tools elevenlabs integration |
upload_time | 2024-11-19 01:35:18 |
maintainer | scummins00 |
docs_url | None |
author | Your Name |
requires_python | <4.0,>=3.9 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Elevenlabs.io Tool
This tool allows Agents to use Elevenlabs.io text-to-speech to create audio files from text. To see more and get started, visit https://elevenlabs.io/
## Usage
This tool has a more extensive example usage documented in a Jupyter notebook [here](https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/tools/llama-index-tools-elevenlabs/examples/elevenlabs_speech.ipynb)
```python
from llama_index.tools.elevenlabs import ElevenLabsToolSpec
from llama_index.agent.openai import OpenAIAgent
speech_tool = ElevenLabsToolSpec(api_key="your-key")
agent = OpenAIAgent.from_tools(
speech_tool.to_tool_list(),
verbose=True,
)
print(
agent.chat(
'Create speech from the following text "Hello world!" and output the file to "speech.wav"'
)
)
```
`text_to_speech`: Takes an input string and synthesizes audio to play on the users computer
`get_voices`: Lists the dumped Pydantic models for all available elevenlabs.io voices
This loader is designed to be used as a way to load data as a Tool in a Agent.
Raw data
{
"_id": null,
"home_page": null,
"name": "llama-index-tools-elevenlabs",
"maintainer": "scummins00",
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/41/89/7af5bddd7ac7d01d649abe740926c6052cd4127b47080adc51b4ba7e446c/llama_index_tools_elevenlabs-0.1.0.tar.gz",
"platform": null,
"description": "# Elevenlabs.io Tool\n\nThis tool allows Agents to use Elevenlabs.io text-to-speech to create audio files from text. To see more and get started, visit https://elevenlabs.io/\n\n## Usage\n\nThis tool has a more extensive example usage documented in a Jupyter notebook [here](https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/tools/llama-index-tools-elevenlabs/examples/elevenlabs_speech.ipynb)\n\n```python\nfrom llama_index.tools.elevenlabs import ElevenLabsToolSpec\nfrom llama_index.agent.openai import OpenAIAgent\n\nspeech_tool = ElevenLabsToolSpec(api_key=\"your-key\")\n\nagent = OpenAIAgent.from_tools(\n speech_tool.to_tool_list(),\n verbose=True,\n)\nprint(\n agent.chat(\n 'Create speech from the following text \"Hello world!\" and output the file to \"speech.wav\"'\n )\n)\n```\n\n`text_to_speech`: Takes an input string and synthesizes audio to play on the users computer\n`get_voices`: Lists the dumped Pydantic models for all available elevenlabs.io voices\n\nThis loader is designed to be used as a way to load data as a Tool in a Agent.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "llama-index tools elevenlabs integration",
"version": "0.1.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d34689c19d815b2aa977c82cbaab1cee904541268238ffd5762a3f0fdc154f3e",
"md5": "4c59c0931798047bd9feb0384605fe15",
"sha256": "85e35848b80af10a4f66a46ce662d3e33ef62cc4df4468ed6d6968a319b84365"
},
"downloads": -1,
"filename": "llama_index_tools_elevenlabs-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4c59c0931798047bd9feb0384605fe15",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 3241,
"upload_time": "2024-11-19T01:35:17",
"upload_time_iso_8601": "2024-11-19T01:35:17.231141Z",
"url": "https://files.pythonhosted.org/packages/d3/46/89c19d815b2aa977c82cbaab1cee904541268238ffd5762a3f0fdc154f3e/llama_index_tools_elevenlabs-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "41897af5bddd7ac7d01d649abe740926c6052cd4127b47080adc51b4ba7e446c",
"md5": "9c9bf5d03d5f98ded3a9d187c32eb210",
"sha256": "840cae079a26f3ab93810d4a5247a76162272969144fe4ccd52cc33e2e58c9fe"
},
"downloads": -1,
"filename": "llama_index_tools_elevenlabs-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "9c9bf5d03d5f98ded3a9d187c32eb210",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 2893,
"upload_time": "2024-11-19T01:35:18",
"upload_time_iso_8601": "2024-11-19T01:35:18.229140Z",
"url": "https://files.pythonhosted.org/packages/41/89/7af5bddd7ac7d01d649abe740926c6052cd4127b47080adc51b4ba7e446c/llama_index_tools_elevenlabs-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-19 01:35:18",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-tools-elevenlabs"
}