VwPolicy#
- class langchain_experimental.rl_chain.base.VwPolicy(model_repo: ModelRepository, vw_cmd: List[str], feature_embedder: Embedder, vw_logger: VwLogger, *args: Any, **kwargs: Any)[来源]#
Vowpal Wabbit 策略。
方法
- Parameters:
model_repo (ModelRepository)
vw_cmd (列表[字符串])
feature_embedder (Embedder)
vw_logger (VwLogger)
args (Any)
kwargs (Any)
- __init__(model_repo: ModelRepository, vw_cmd: List[str], feature_embedder: Embedder, vw_logger: VwLogger, *args: Any, **kwargs: Any)[来源]#
- Parameters:
model_repo (ModelRepository)
vw_cmd (列表[字符串])
feature_embedder (Embedder)
vw_logger (VwLogger)
args (Any)
kwargs (Any)