Langsmith and langserve compatibility #547
-
We have a web front-end, that uses a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
We recently added support to direclty specify it in the runnable config. That's probably the most convenient way:
The collector is only tirggered at the end of streaming, which is a limitation |
Beta Was this translation helpful? Give feedback.
@hinthornw Thanks for the reply. Interesting idea to set it when invoking the chain from the front-end, i did not know that was possible. I am retrieving the run_id from the event logs using
streamEvents
on theRemoteRunnable
now. There was a small issue where thestreamEvents
function did not return the run_ids. It is now solved by the langchainjs maintainers, so everything is fine.