Logo Voice Setup

Voice Setup

Tổ chứcPhổ biến
vellum-ai
voice-setup

Complete voice configuration in chat - desktop Talk and PTT shortcuts, microphone permissions, ElevenLabs/Deepgram TTS, and troubleshooting

Tổng quan

Nhà phát hànhvellum-ai
Kho mãvellum-assistant
Tên kỹ năngvoice-setup
Sao
1.4K
Bản fork
208
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được vellum-ai công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Voice Setup trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/vellum-ai/vellum-assistant/tree/main/skills/voice-setup
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vellum-ai/vellum-assistant.git /tmp/vellum-assistant
mkdir -p .claude/skills
cp -r /tmp/vellum-assistant/skills/voice-setup .claude/skills/voice-setup
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Voice Setup trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Voice Setup ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Voice Setup với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

You are helping the user set up and troubleshoot voice features entirely within this conversation. Use the client_os: line in <turn_context> to choose the macOS or Windows instructions below. Do not give macOS commands or key names to a Windows user, or Windows guidance to a macOS user.

Before using a desktop tool, check client_os:

  • If it is macos or windows, follow that platform's branch.
  • If it is web, ios, android, or absent, do not call open_system_settings or give desktop shortcut instructions. Explain that permissions and the Talk shortcut must be configured from the Mac or Windows desktop app. You can still complete provider, voice, language, and timeout configuration in the current conversation.

Available Tools

  • voice_config_update changes shared voice settings such as the legacy macOS PTT activation key, conversation timeout, speech providers, and TTS voice ID.
  • open_system_settings opens the correct macOS System Settings or Windows Settings privacy page. Call it only when client_os is macos or windows, and pass that value as platform.
  • navigate_settings_tab opens Vellum settings. Use it for review, or when the desktop-owned Talk shortcut must be recorded in the app.
  • assistant credentials prompt collects API keys securely for ElevenLabs or Deepgram.

The desktop Talk shortcut is client-owned. On current desktop clients, configure it in the Voice settings shortcut control instead of treating voice_config_update setting="activation_key" as a global shortcut editor. Use voice_config_update for the shared settings it owns. Use activation_key only for the legacy macOS PTT activation setting.

Setup Flow

Walk through each relevant section in order. Skip sections the user does not need, and ask before moving to the next section.

1. Microphone Permission

Microphone permission is not reported in <channel_capabilities>. Ask whether Vellum shows a microphone permission warning or whether the user already granted access.

If access is denied or the user is unsure:

  1. Explain that the desktop app needs microphone permission for dictation and voice conversations.
  2. Call open_system_settings with pane: "microphone" and the current platform.
  3. Give the matching instruction:
    • macOS: In System Settings > Privacy & Security > Microphone, turn on Vellum or Vellum Assistant.
    • Windows: In Settings > Privacy & security > Microphone, turn on Microphone access and Let desktop apps access your microphone. Windows groups non-packaged desktop apps under the desktop-app toggle rather than always showing an individual Vellum switch.
  4. Ask the user to return after changing it, then verify with the short recording test in section 4.

If the user confirms access is granted, continue without opening system settings.

2. Talk and Push-to-Talk Shortcut

On macOS, first determine whether the user means the current desktop Talk shortcut or the legacy PTT activation setting. Windows supports the desktop Talk shortcut only.

Desktop Talk shortcut

The Talk shortcut starts or ends a voice conversation.

  • macOS: Offer Fn or a custom global chord. Fn is the Mac-specific helper path and can require Input Monitoring. If macOS refuses Fn registration, direct the user to System Settings > Privacy & Security > Input Monitoring, then have them reopen Vellum. A custom chord should be one the user can spare system-wide.
  • Windows: Fn is unavailable because Windows does not receive the hardware Fn key. Recommend a custom chord for system-wide Talk. The app also offers Ctrl+Shift and Alt taps, but those bare-modifier choices work only while a Vellum window is focused. Warn that another global shortcut can prevent a custom chord from registering.

Ask which behavior they want, then use navigate_settings_tab with tab: "Voice" so they can record the desktop-owned shortcut. Do not claim that voice_config_update changed this shortcut.

Legacy PTT activation setting

This setting is macOS-only. If a Mac user explicitly wants the legacy hold-to-talk setting, offer only values accepted by voice_config_update:

  • fn
  • fn_shift
  • ctrl
  • none

After the user chooses, call voice_config_update with setting: "activation_key" and the matching canonical value.

On Windows, do not offer or call the legacy activation setting. It has no Windows client consumer. Use the desktop Talk shortcut flow instead.

3. Text-to-Speech Voice (Optional)

Ask whether the user wants high-quality text-to-speech voices through ElevenLabs or Deepgram. Standard TTS works without this optional setup.

The included ElevenLabs Voice and Deepgram Voice skills provide the provider-specific setup flow, including API key collection, voice selection, and tuning.

Check the active provider first with assistant config get services.tts.provider. voice_config_update writes the voice to the active provider, and each bring-your-own provider accepts its own voice IDs. If the preferred provider does not match the active provider, collect any required API key before switching:

text
voice_config_update setting="tts_provider" value="deepgram"

The managed vellum provider accepts both supported ElevenLabs and Deepgram voice IDs, so it does not require a provider switch. Then follow the matching included voice skill.

The active provider's voice setting controls both in-app TTS and phone calls.

4. Verification

After setup:

  1. Summarize the configured permissions, shortcut, and provider settings.
  2. Ask the user to test the selected shortcut and speak a short sentence.
  3. Offer to open the Voice settings tab for review with navigate_settings_tab and tab: "Voice".

Desktop Talk starts a live voice session. Its audio is transcribed through the assistant's configured speech-to-text provider over the live voice connection. The Windows native helper provides partials only for one-shot dictation from the microphone button. Ask which surface the user tested before troubleshooting missing text.

Troubleshooting Decision Trees

"PTT isn't working" or "Can't record"

  1. Ask whether Vellum shows a microphone permission warning and whether the recording indicator appears. If access is denied or capture does not start, follow the microphone permission flow.
  2. Confirm which shortcut the user configured. Legacy PTT applies only on macOS. Verify desktop Talk in the Voice tab.
  3. Apply the platform-specific checks:
    • macOS: Fn requires the native helper and may require Input Monitoring. The Globe key can also be assigned to macOS Dictation or the emoji picker, so suggest a custom chord if both actions fire.
    • Windows: Fn cannot work. A Ctrl+Shift or Alt tap requires Vellum to be focused. For use from another app, record a custom global chord and make sure no other app owns it.
  4. If the user reports Speech Recognition permission as denied or not determined, call open_system_settings with pane: "speech_recognition" and the current platform.
  5. If the Windows shortcut fires but capture does not start, choose Restart from the Vellum tray menu and retry.

"Talk starts but no transcript"

  1. Confirm that the user started Desktop Talk and that its listening or recording indicator appears. If it does not, return to shortcut and microphone capture troubleshooting.
  2. Check the active provider with assistant config get services.stt.provider.
  3. If no usable provider is configured, help the user choose one with voice_config_update setting="stt_provider" and collect any required credential securely before retrying.
  4. If a provider is configured, check for an invalid credential, provider outage, or a live voice connection error. A session that never connects or disconnects before transcript events is a connection path problem, not a Windows recognizer problem.
  5. Confirm the configured speech-to-text language matches the speaker when the selected provider uses that setting. Do not send a Desktop Talk failure to Windows installed-language or native-helper troubleshooting.

"One-shot dictation records but produces no text"

This path applies to the microphone button's one-shot dictation, not Desktop Talk.

  1. If the user reports Speech Recognition permission as denied or unknown, open the platform's privacy page with open_system_settings.
  2. Ask whether dictation partials appear. If capture starts without partials, troubleshoot the native helper and local recognizer.
  3. On Windows, the helper uses an installed Windows speech recognizer and prefers the current Windows display language. If no matching recognizer is installed, add that language's speech feature or select an installed language.
  4. Reduce background noise or move closer to the microphone.
  5. On Windows, choose Restart from the Vellum tray menu and retry. This relaunches Vellum and its one-shot dictation helper.

"Changed a setting but it didn't work"

  1. Shared voice_config_update changes should apply immediately. Verify the persisted value with the relevant config command.
  2. Desktop shortcut changes are stored by the desktop client. Reopen the Voice tab and confirm the Talk shortcut shown there.
  3. If the displayed value is correct but behavior is stale, restart Vellum and retry.

Deep Debugging

For persistent issues, use the matching log path.

macOS:

bash
log stream --predicate 'subsystem == "com.vellum.assistant"' --level debug

Look for voice and speech categories.

Windows PowerShell:

powershell
$log = Get-ChildItem "$env:APPDATA\Vellum*\logs\vellum.log" |
  Sort-Object LastWriteTime -Descending |
  Select-Object -First 1
Get-Content $log.FullName -Wait

For Desktop Talk, look for live voice, WebSocket, and speech-to-text provider errors. For one-shot dictation, look for [win-helper], dictation, permission, and recognizer messages. Do not ask the user to share transcript contents from logs.

Rules

  • Handle every tool-backed setting conversationally in chat.
  • Use navigate_settings_tab for review and for the desktop-owned Talk shortcut, which must be recorded in the client.
  • Use platform-specific Settings names and shortcuts.
  • Be concise. Present the common choices and let the user ask for more.
  • If permission is denied, acknowledge it and explain which voice features will remain unavailable.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Voice Setup làm được gì?

Complete voice configuration in chat - desktop Talk and PTT shortcuts, microphone permissions, ElevenLabs/Deepgram TTS, and troubleshooting

Vì sao nên dùng Voice Setup trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Voice Setup là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Voice Setup trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/vellum-ai/vellum-assistant/tree/main/skills/voice-setup. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Voice Setup?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Voice Setup với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Voice Setup với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Voice Setup có miễn phí không?

Có. Kỹ năng này được vellum-ai phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇