usage_metadata in invoke: difference between Langchain and LangServe #783
Unanswered
lorerave85
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a simple chain that returns me a lot of metadata using invoke, visible in the response.
if I try to run the same simple chain via langserve, the metadata reported is practically non-existent.
is there a way to bring back some metadata also in the langserve response?
i don't want to reimplement a custom callback, i see that on langsmith all this metadata arrives.
Thanks
Lorenzo
Beta Was this translation helpful? Give feedback.
All reactions