Track your LangChain agents with AgentOps
ChatOpenAI
is commonly used with LangChain):
.env
file.
LangchainCallbackHandler
.
agentops.init()
call; the LangchainCallbackHandler
initializes the AgentOps client automatically if an API key is provided to it or found in the environment.