langchain_experimental.rl_chain.metrics.MetricsTrackerAverage¶

class langchain_experimental.rl_chain.metrics.MetricsTrackerAverage(step: int)[source]¶

Metrics Tracker Average.

Attributes

score

Methods

__init__(step)

on_decision()

on_feedback(score)

to_pandas()

Parameters

step (int) –

__init__(step: int)[source]¶
Parameters

step (int) –

on_decision() None[source]¶
Return type

None

on_feedback(score: float) None[source]¶
Parameters

score (float) –

Return type

None

to_pandas() pd.DataFrame[source]¶
Return type

pd.DataFrame