langchain.callbacks.llmonitor_callback.identify

langchain.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.