curl --location --request POST 'http://dev-cn.your-api-server.com/v2/text/custom_named_entity_recognition' \
--header 'Authorization;' \
--header 'content-type: application/json' \
--data-raw '{
"response_as_dict": true,
"attributes_as_list": false,
"show_original_response": false
}'
{
"openai": {
"items": [
{
"entity": "John Smith",
"category": "person"
},
{
"entity": "Starbucks",
"category": "location"
},
{
"entity": "New York City",
"category": "location"
},
{
"entity": "IBM",
"category": "organization"
}
]
},
"cohere": {
"items": [
{
"entity": "John Smith",
"category": "person"
},
{
"entity": "Starbucks",
"category": "location"
},
{
"entity": "New York City",
"category": "location"
},
{
"entity": "IBM",
"category": "organization"
}
]
},
"eden-ai": {
"status": "success",
"items": [
{
"entity": "John Smith",
"category": "person"
},
{
"entity": "Starbucks",
"category": "location"
},
{
"entity": "New York City",
"category": "location"
},
{
"entity": "IBM",
"category": "organization"
}
]
}
}