tencent cloud

Tencent Cloud Agent Development Platform

文档Tencent Cloud Agent Development Platform

Chat API Overview

下载
聚焦模式
字号
最后更新时间: 2026-07-15 16:58:11
本文档由 AI 翻译

Overview

After creating an application on Tencent Cloud Agent Development Platform (Tencent Cloud ADP), completing the application configuration, conducting a dialogue test, and publishing to obtain the AppKey, you can use the dialogue API to interact with Tencent Cloud ADP.
The platform offers two commonly used access methods: WebSocket and HTTP SSE.

1. WebSocket Access Method Overview

WebSocket is connection-oriented and full-duplex channel. Before establishing connection, you must first get Token from the server. Only with this token can you create a WebSocket connection with the server. The token is valid only during link establishment and will be discarded upon success.
Access Process Diagram:




2. HTTP SSE Access Method Overview

HTTP SSE is a one-way channel. After the client initiates an HTTP request, the server continuously pushes streaming data to the client. At this point, two-way interaction is not supported.



Note:
Note: If you want to learn about APIs related to the configuration end, please visit: API document.


帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈