SendAgentInstanceLLM
https://aigc-aiagent-api.zegotech.cn/
This interface can be used to, as the user, actively call the LLM service, and based on the response content of the LLM, actively call the TTS service as the AI agent, and send voice messages to the user. (1. When this interface is called, if the AI agent in the conversation is speaking, the speaking process of the AI agent will be interrupted; 2. The text information passed into this interface will not be recorded in the conversation history message and will not be sent through the RTC room message. However, the reply generated by the LLM will be recorded in the conversation history message and sent through the RTC room message.)
Request
Query Parameters
Possible values: [SendAgentInstanceLLM
]
API Prototype Parameter
https://aigc-aiagent-api.zegotech.cn?Action=SendAgentInstanceLLM
The unique Application ID assigned to your project by ZEGOCLOUD. Get it from the ZEGOCLOUD Admin Console.
Random string.
Unix timestamp, in seconds. The maximum allowed error is 10 minutes.
Signature, used to verify the legitimacy of the request. Refer to Signing the requests for how to generate an API request signature.
Possible values: [2.0
]
Signature version number, default value is 2.0.
- application/json
Responses
- 200
- application/json
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL