extract_numbers
Extract numbers, dates and symbols from text using a combined LLM and regex pass, so formatting differences are caught and extraction still works if the model fails.
Instructions
Read the numbers, dates and symbols out of a text with the extraction agent.
The model's reading is combined with the deterministic regex pass, so a mention the model
formats differently ("eleven" beside "11") is still found, and a model that cannot answer at all
degrades to the regex reading instead of failing. sources says which strategies contributed.
Needs an LLM endpoint (OPENAI_API_KEY or OPENAI_BASE_URL).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| numbers | No | ||
| sources | No | ||
| symbols | No |