route_config
(str
): The route config to check.bool
: Whether the route config is valid.
name
(str
): The name of the route.utterances
(Union[List[str], List[Any]]
): The utterances of the route.description
(Optional[str]
): The description of the route.function_schemas
(Optional[List[Dict[str, Any]]]
): The function schemas of the route.llm
(Optional[BaseLLM]
): The LLM to use.str
0 (str
1): The score threshold of the route.str
2 (str
3): The metadata of the route.query
(Optional[str]
): The query to pass to the route.RouteChoice
: The route choice.
query
(Optional[str]
): The query to pass to the route.RouteChoice
: The route choice.
Dict[str, Any]
: The dictionary representation of the route.
data
(Dict[str, Any]
): The dictionary to create the route from.Route
: The created route.
llm
(BaseLLM
): The LLM to use.entities
(List[Union[BaseModel, Callable]]
): The entities to use.route_name
: The name of the route.