langchain.chains.router.base.Route¶
- class langchain.chains.router.base.Route(destination, next_inputs)[source]¶
Bases:
NamedTupleCreate new instance of Route(destination, next_inputs)
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
Alias for field number 0
Alias for field number 1
- count(value, /)¶
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)¶
Return first index of value.
Raises ValueError if the value is not present.
- destination: Optional[str]¶
Alias for field number 0
- next_inputs: Dict[str, Any]¶
Alias for field number 1