POST api/AiChat/askAI
Request Information
URI Parameters
None.
Body Parameters
ChatRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| message | string |
None. |
|
| history | Collection of MessageItem |
None. |
Request Formats
application/json, text/json
Sample:
{
"message": "sample string 1",
"history": [
{
"role": "sample string 1",
"text": "sample string 2"
},
{
"role": "sample string 1",
"text": "sample string 2"
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.