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]

选择最佳链的事件类。

属性

方法

__init__(inputs, to_select_from, based_on[, ...])

参数
  • 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]
参数
  • inputs (Dict[str, Any]) –

  • to_select_from (Dict[str, Any]) –

  • based_on (Dict[str, Any]) –

  • selected (Optional[PickBestSelected]) –