• Parameters

    • Optionalsession: string

      Optional session to load into the tracer.

    Returns Promise<LangChainTracerV1>

    An instance of LangChainTracerV1.

    Use the V2 handler instead.

    Function that returns an instance of LangChainTracerV1. If a session is provided, it loads that session into the tracer; otherwise, it loads a default session.