LangChain - LangSmith Observability
Given this LangChain code snippet, what will be printed when the chain runs?
from langchain.callbacks.base import BaseCallbackHandler
class PrintCallback(BaseCallbackHandler):
def on_llm_start(self, serialized, prompts, **kwargs):
print(f"LLM started with prompt: {prompts[0]}")
chain = LLMChain(llm=llm, prompt=prompt, callbacks=[PrintCallback()])
chain.run("Hello")