langchain_experimental.rl_chain.metrics
.MetricsTrackerRollingWindow¶
- class langchain_experimental.rl_chain.metrics.MetricsTrackerRollingWindow(window_size: int, step: int)[source]¶
指标跟踪滚动窗口。
属性
得分
方法
__init__
(window_size, step)决策时
()on_feedback
(value)- 参数
window_size (int) –
step (int) –