Skip to main content

SemanticRouter Objects

A router that uses a dense encoder to encode routes and utterances.

add

Add a route to the local SemanticRouter and index. Arguments:
  • route (Route): The route to add.

aadd

Asynchronously add a route to the local SemanticRouter and index. Arguments:
  • routes (List[Route] | Route): The route(s) to add.