Tencen RTC Conversational AI plugin helps build a voice AI assistant with Dify Agent.
Author: Yuyang Wu
Version: 0.0.1
Plugin Type: extension
Tencent RTC Conversational AI transforms your Dify agent into a Voice AI agent with real-time speech-to-text (STT) and text-to-speech (TTS) capabilities powered by Tencent RTC.
The plugin requires the following configuration parameters:
Select a Dify agent from your library to turn into a voice assistant.
Your Tencent Cloud SecretId for API authentication. Get it from Tencent Cloud Console - API Keys.
Your Tencent Cloud SecretKey for API authentication. Keep this secure.
The Tencent Cloud region for your TRTC service (default: ).
Your TRTC application ID. Create one in TRTC Console.
The secret key for your TRTC application. Get it from your TRTC application settings.
Configuration for Speech-to-Text service in JSON format. Refer to TRTC STT documentation for details.
Example:
The BCP-47 language tag for speech recognition (default: ).
Configuration for Text-to-Speech service in JSON format. Refer to TRTC TTS documentation for details.
Example:
An API key to protect your LLM proxy endpoint for additional security.
Once configured, the plugin provides the following endpoints:
Use the following URL to interact with your voice AI:
For issues or questions: