langchain_experimental.rl_chain.pick_best_chain.PickBestRandomPolicy¶

class langchain_experimental.rl_chain.pick_best_chain.PickBestRandomPolicy(feature_embedder: Embedder, **kwargs: Any)[source]¶

Methods

__init__(feature_embedder, **kwargs)

learn(event)

log(event)

predict(event)

save()

__init__(feature_embedder: Embedder, **kwargs: Any)[source]¶
learn(event: PickBestEvent) None[source]¶
log(event: PickBestEvent) None[source]¶
predict(event: PickBestEvent) List[Tuple[int, float]][source]¶
save() None¶