AgentTextMetricRegistration

Trait AgentTextMetricRegistration 

pub trait AgentTextMetricRegistration<RLC>: Sized
where RLC: RLComponentsTypes,
{ // Required method fn register(self, builder: RLTraining<RLC>) -> RLTraining<RLC>; }
Expand description

Trait to fake variadic generics for train step text metrics.

Required Methods§

fn register(self, builder: RLTraining<RLC>) -> RLTraining<RLC>

Register the metrics.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl<M1, M2, M3, M4, M5, M6, RLC> AgentTextMetricRegistration<RLC> for (M1, M2, M3, M4, M5, M6)
where RLC: RLComponentsTypes + 'static, <<RLC as RLComponentsTypes>::ActionContext as ItemLazy>::ItemSync: Adaptor<<M1 as Metric>::Input> + Adaptor<<M2 as Metric>::Input> + Adaptor<<M3 as Metric>::Input> + Adaptor<<M4 as Metric>::Input> + Adaptor<<M5 as Metric>::Input> + Adaptor<<M6 as Metric>::Input>, M1: Metric + 'static, M2: Metric + 'static, M3: Metric + 'static, M4: Metric + 'static, M5: Metric + 'static, M6: Metric + 'static,

§

fn register(self, builder: RLTraining<RLC>) -> RLTraining<RLC>

§

impl<M1, M2, M3, M4, M5, RLC> AgentTextMetricRegistration<RLC> for (M1, M2, M3, M4, M5)
where RLC: RLComponentsTypes + 'static, <<RLC as RLComponentsTypes>::ActionContext as ItemLazy>::ItemSync: Adaptor<<M1 as Metric>::Input> + Adaptor<<M2 as Metric>::Input> + Adaptor<<M3 as Metric>::Input> + Adaptor<<M4 as Metric>::Input> + Adaptor<<M5 as Metric>::Input>, M1: Metric + 'static, M2: Metric + 'static, M3: Metric + 'static, M4: Metric + 'static, M5: Metric + 'static,

§

fn register(self, builder: RLTraining<RLC>) -> RLTraining<RLC>

§

impl<M1, M2, M3, M4, RLC> AgentTextMetricRegistration<RLC> for (M1, M2, M3, M4)
where RLC: RLComponentsTypes + 'static, <<RLC as RLComponentsTypes>::ActionContext as ItemLazy>::ItemSync: Adaptor<<M1 as Metric>::Input> + Adaptor<<M2 as Metric>::Input> + Adaptor<<M3 as Metric>::Input> + Adaptor<<M4 as Metric>::Input>, M1: Metric + 'static, M2: Metric + 'static, M3: Metric + 'static, M4: Metric + 'static,

§

fn register(self, builder: RLTraining<RLC>) -> RLTraining<RLC>

§

impl<M1, M2, M3, RLC> AgentTextMetricRegistration<RLC> for (M1, M2, M3)
where RLC: RLComponentsTypes + 'static, <<RLC as RLComponentsTypes>::ActionContext as ItemLazy>::ItemSync: Adaptor<<M1 as Metric>::Input> + Adaptor<<M2 as Metric>::Input> + Adaptor<<M3 as Metric>::Input>, M1: Metric + 'static, M2: Metric + 'static, M3: Metric + 'static,

§

fn register(self, builder: RLTraining<RLC>) -> RLTraining<RLC>

§

impl<M1, M2, RLC> AgentTextMetricRegistration<RLC> for (M1, M2)
where RLC: RLComponentsTypes + 'static, <<RLC as RLComponentsTypes>::ActionContext as ItemLazy>::ItemSync: Adaptor<<M1 as Metric>::Input> + Adaptor<<M2 as Metric>::Input>, M1: Metric + 'static, M2: Metric + 'static,

§

fn register(self, builder: RLTraining<RLC>) -> RLTraining<RLC>

§

impl<M1, RLC> AgentTextMetricRegistration<RLC> for (M1,)
where RLC: RLComponentsTypes + 'static, <<RLC as RLComponentsTypes>::ActionContext as ItemLazy>::ItemSync: Adaptor<<M1 as Metric>::Input>, M1: Metric + 'static,

§

fn register(self, builder: RLTraining<RLC>) -> RLTraining<RLC>

Implementors§