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.
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.