POST api/Chat/processSentenceForEntities?message={message}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| message | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Entity| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Type | Type |
None. |
|
| Metadata | Dictionary of string [key] and string [value] |
None. |
|
| Salience | decimal number |
None. |
|
| Mentions |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Name": "sample string 1",
"Type": 0,
"Metadata": {},
"Salience": 2.1,
"Mentions": [],
"Sentiment": {
"Magnitude": 1.1,
"Score": 2.1
}
},
{
"Name": "sample string 1",
"Type": 0,
"Metadata": {},
"Salience": 2.1,
"Mentions": [],
"Sentiment": {
"Magnitude": 1.1,
"Score": 2.1
}
}
]
text/html, application/octet-stream
Sample:
[{"Name":"sample string 1","Type":0,"Metadata":{},"Salience":2.1,"Mentions":[],"Sentiment":{"Magnitude":1.1,"Score":2.1}},{"Name":"sample string 1","Type":0,"Metadata":{},"Salience":2.1,"Mentions":[],"Sentiment":{"Magnitude":1.1,"Score":2.1}}]
application/xml, text/xml
Sample:
<ArrayOfEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Google.Cloud.Language.V1">
<Entity>
<Mentions />
<Metadata xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<Name>sample string 1</Name>
<Salience>2.1</Salience>
<Sentiment>
<Magnitude>1.1</Magnitude>
<Score>2.1</Score>
</Sentiment>
<Type>Unknown</Type>
</Entity>
<Entity>
<Mentions />
<Metadata xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<Name>sample string 1</Name>
<Salience>2.1</Salience>
<Sentiment>
<Magnitude>1.1</Magnitude>
<Score>2.1</Score>
</Sentiment>
<Type>Unknown</Type>
</Entity>
</ArrayOfEntity>