LangChain - LangSmith Observability
Why does this code raise a NameError: name 'cb' is not defined?
chain.run("Hello")
print(cb.total_cost)chain.run("Hello")
print(cb.total_cost)cb is used but never assigned or created in the code.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions