langchain_experimental.rl_chain.base.Policy¶

class langchain_experimental.rl_chain.base.Policy(**kwargs: Any)[source]¶

Methods

__init__(**kwargs)

learn(event)

log(event)

predict(event)

save()

__init__(**kwargs: Any)[source]¶
abstract learn(event: TEvent) None[source]¶
abstract log(event: TEvent) None[source]¶
abstract predict(event: TEvent) Any[source]¶
save() None[source]¶