langchain_experimental.rl_chain.metrics.MetricsTrackerRollingWindow¶
class langchain_experimental.rl_chain.metrics.MetricsTrackerRollingWindow(window_size: int, step: int)[source]¶
Attributes
score
Methods
__init__(window_size, step)
on_decision()
on_feedback(value)
to_pandas()
__init__(window_size: int, step: int)[source]¶
on_decision() → None[source]¶
on_feedback(value: float) → None[source]¶
to_pandas() → pd.DataFrame[source]¶