ChatTTSSpringBootApplication
@SpringBootApplication public class ChatTTSSpringBootApplication
源码Source
io/agentscope/examples/chattts/ChatTTSSpringBootApplication.java:36–42聊天 TTS Spring Boot 应用,处理低延迟的实时语音与多模态交互。位于 io.agentscope.examples.chattts 包。核心成员包括 main。
Chat with TTS Application.
Demonstrates ReActAgent with real-time Text-to-Speech streaming. The agent's response text and synthesized audio are streamed to the frontend via Server-Sent Events (SSE).
Usage:
export DASHSCOPE_API_KEY=sk-xxx
mvn spring-boot:run -pl agentscope-examples/chat-tts
Then open http://localhost:8080 in your browser.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public static void main(String[] args)static | 设置主。 Performs the main operation. |
方法详情Method Detail
main
public static void main(String[] args)
static
设置主。
Performs the main operation.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
args | String[] | 参数(类型 `String[]`)。The args. |
源码Source
io/agentscope/examples/chattts/ChatTTSSpringBootApplication.java:39–41