POST OpenAI/DSChat
请求信息
URI 参数
None.
Body 参数
AIChatParameter名称 | 描述 | 类型 | 附加信息 |
---|---|---|---|
Id | integer |
None. |
|
Content | string |
None. |
|
IsThinking | boolean |
None. |
|
IsInternet | boolean |
None. |
请求格式
application/json, text/json
Sample:
{ "Id": 1, "Content": "sample string 2", "IsThinking": true, "IsInternet": true }
application/xml, text/xml
Sample:
<AIChatParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UDenCloudProject.Model.ParameterModels"> <Content>sample string 2</Content> <Id>1</Id> <IsInternet>true</IsInternet> <IsThinking>true</IsThinking> </AIChatParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
响应信息
资源描述
ApiJsonBaseOfObject名称 | 描述 | 类型 | 附加信息 |
---|---|---|---|
Result | boolean |
None. |
|
Message | string |
None. |
|
State | integer |
None. |
|
BizData | Object |
None. |
响应格式
application/json, text/json
Sample:
{ "Result": true, "Message": "sample string 2", "State": 3, "BizData": {} }
application/xml, text/xml
Sample:
<ApiJsonBaseOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UDenCloudProject.API.Models"> <BizData /> <Message>sample string 2</Message> <Result>true</Result> <State>3</State> </ApiJsonBaseOfanyType>