LangChain - LangSmith Observability
Given the code snippet below, what will be the effect of passing the tracer to the LLM?
from langchain.chat_models import ChatOpenAI
from langchain.callbacks import LangChainTracer
tracer = LangChainTracer()
llm = ChatOpenAI(callbacks=[tracer])
response = llm.chat([{'role': 'user', 'content': 'Hello!'}])