Toggle Menu
Prev Up Next

# `langchain_experimental.rl_chain.vw_logger`.VwLogger

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

  Vowpal Wabbit custom logger.

  Methods

  `__init__`(path) |
  `log`(vw_ex) |
  `logging_enabled`() |

  Parameters

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

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

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

  log(vw_ex: str) → None
    Parameters

      vw_ex (str) –

    Return type

      None

  logging_enabled() → bool
    Return type

      bool