semantic_router.layer.threshold_random_search#
- semantic_router.layer.threshold_random_search(route_layer: RouteLayer, search_range: int | float) Dict[str, float] #
Performs a random search iteration given a route layer and a search range.
Performs a random search iteration given a route layer and a search range.