langchain_community.callbacks.llmonitor_callback.identify¶

langchain_community.callbacks.llmonitor_callback.identify(user_id: str, user_props: Any = None) UserContextManager[source]¶

Builds an LLMonitor UserContextManager

Parameters
  • user_id (-) – The user id.

  • user_props (-) – The user properties.

Returns

A context manager that sets the user context.

Return type

UserContextManager