
Setup
Parameters
Request
Detect numbers in text by performing a POST request to the following URL: api.oneai.com/api/v0/pipeline
{
"input": "your input text here",
"steps": [{
"skill": "numbers"
}]
}
Response
Returns a list of detected numbers, dates and times in standardized formats
Supported Labels
- DATE- Absolute or relative dates or periods.
- TIME- Times smaller than a day.
- MONEY- Monetary values, including unit.
- QUANTITY- Measurements, such as weight or distance.
- ORDINAL- Position in a list - “first”, “second”, etc.
- CARDINAL- Numerals that do not fall under another type.