semantic_router.index.base.parse_route_info#
- semantic_router.index.base.parse_route_info(metadata: List[Dict[str, Any]]) List[Tuple] #
Parses metadata from index to extract route, utterance, function schema and additional metadata.
- Parameters:
metadata (List[Dict[str, Any]]) – List of metadata dictionaries.
- Returns:
A list of tuples, each containing route, utterance, function schema and additional metadata.
- Return type:
List[Tuple]