Named Entity Recognition API
Named Entity Recognition API extracts the important keywords from natural language texts in your domain.
Last updated
Named Entity Recognition API extracts the important keywords from natural language texts in your domain.
Last updated
nlu-api.allganize.ai is Allganize's NLU API endpoint. If you are using on-prem, please use your API endpoint.
The NLU API uses API keys to authenticate requests that you can find in the Allganize NLU API dashboard. Go to Settings > General to find your API key. If you don't have an account yet, you can create one here.
API KEY
in the request header API-KEY
.POST
https://nlu-api.allganize.ai/api/inference
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Please replace YOUR_API_KEY with your one in the example below. Please see getting-api-key section.
POST
https://nlu-api.allganize.ai/api/add_phrase/<data_type>
This API lets you upload training data in json format
Please replace YOUR_API_KEY with your one in the example below. Please see getting-api-key section.
Please read the error message you get if you don't get the response that you expected.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
API-KEY*
string
Your API key can be found on your dashboard Settings menu, under the General tab.
text
string
Input text you want to analyze. English, Japanese, Korean, and Chinese are supported. You can enter up to 2000 characters, after which the entered characters will be ignored.
data_type
String
train - for training data
test - for testing data
Other values than train and test will use train as default value.
API-KEY*
String
Your API key can be found on your dashboard Settings menu, under the General tab.
Content-Type
String
application/json
text
String
Input text you want to analyze. English, Japanese, Korean, and Chinese are supported. You can enter up to 2000 characters, after which the entered characters will be ignored
entities
String
Array of entities
Status Code
Error Code
Name
Message
Description
500
7000
API Error
Something went wrong
Default API error message for any uncategorized errors.
403
7001
Invalid API Key
API-KEY is not valid.
When the API Key requested to the header is invalid.
403
7002
Invalid JSON
Cannot decode the requested JSON body.
When the requested JSON is not decodable.
400
7003
Invalid Parameter
Requested parameters are not valid. 'text' is empty.
When the requested parameter is invalid (for example, when requesting inference with empty text).
403
7004
Payment error
billing error.
Overall payment related errors, e.g., payment is overdue
405
-
Wrong HTTP Method
-
When the HTTP method used is not valid.