Toggle Menu
Prev Up Next

# `langchain_community.callbacks.llmonitor_callback`.UserContextManager

class langchain_community.callbacks.llmonitor_callback.UserContextManager(user_id: str, user_props: Optional[Any] = None)

  Context manager for LLMonitor user context.

  Methods

  `__init__`(user_id[, user_props]) |

  Parameters

    - user_id (str) –

    - user_props (Any) –

  __init__(user_id: str, user_props: Optional[Any] = None) → None
    Parameters

      - user_id (str) –

      - user_props (Optional[Any]) –

    Return type

      None