resolve_indicator
Resolve natural-language statistical terms into ranked official indicator codes. Use optional context and source preference for accurate disambiguation.
Instructions
Resolve a natural-language term to ranked indicator codes.
Args: term: The indicator term to resolve (e.g. "chomage", "PIB"). context: Optional surrounding text for disambiguation. preferred_source: Optional source preference (insee, eurostat, worldbank, oecd).
Returns: List of IndicatorResult ranked by relevance.
Raises: IndicatorNotFoundError: If no matching indicator is found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | ||
| context | No | ||
| preferred_source | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |