Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
from agno.agent import Agent from agno.tools.mlx_transcribe import MLXTranscribeTools agent = Agent( tools=[MLXTranscribeTools()], show_tool_calls=True, markdown=True, ) agent.print_response("转录这个音频文件:path/to/audio.mp3")
创建虚拟环境
Terminal
python3 -m venv .venv source .venv/bin/activate
设置您的 API 密钥
export OPENAI_API_KEY=xxx
安装库
pip install -U mlx-transcribe openai agno
运行 Agent
python cookbook/tools/mlx_transcribe_tools.py