Skip to content

How to send progress notification from server to client #442

Answered by eyurtsev
shaojun asked this question in Q&A
Discussion options

You must be logged in to vote

I'd recommend using astream events API for this purpose rather than callback events.

https://python.langchain.com/docs/expression_language/streaming#using-stream-events

The API is here and was just added to langserve. Let me know if you have questions.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by eyurtsev
Comment options

You must be logged in to vote
2 replies
@eyurtsev
Comment options

@philbo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #428 on February 05, 2024 16:03.