A router that uses a dense encoder to encode routes and utterances.
Add a route to the local SemanticRouter and index.
Arguments:
route
(Route
): The route to add.Asynchronously add a route to the local SemanticRouter and index.
Arguments:
routes
(List[Route] | Route
): The route(s) to add.