langchain_experimental.rl_chain.pick_best_chain
.PickBestEvent¶
- class langchain_experimental.rl_chain.pick_best_chain.PickBestEvent(inputs: Dict[str, Any], to_select_from: Dict[str, Any], based_on: Dict[str, Any], selected: Optional[PickBestSelected] = None)[source]¶
PickBest链的事件类。
Attributes
Methods
__init__
(inputs, to_select_from, based_on[, ...])- Parameters
inputs (Dict[str, Any]) –
to_select_from (Dict[str, Any]) –
based_on (Dict[str, Any]) –
selected (Optional[TSelected]) –
- __init__(inputs: Dict[str, Any], to_select_from: Dict[str, Any], based_on: Dict[str, Any], selected: Optional[PickBestSelected] = None)[source]¶
- Parameters
inputs (Dict[str, Any]) –
to_select_from (Dict[str, Any]) –
based_on (Dict[str, Any]) –
selected (Optional[PickBestSelected]) –