langchain_experimental.rl_chain.vw_logger.VwLogger

class langchain_experimental.rl_chain.vw_logger.VwLogger(path: Optional[Union[str, PathLike]])[source]

Vowpal Wabbit custom logger.

Methods

__init__(path)

log(vw_ex)

logging_enabled()

Parameters

path (Optional[Union[str, PathLike]]) –

__init__(path: Optional[Union[str, PathLike]])[source]
Parameters

path (Optional[Union[str, PathLike]]) –

log(vw_ex: str) None[source]
Parameters

vw_ex (str) –

Return type

None

logging_enabled() bool[source]
Return type

bool