-
Notifications
You must be signed in to change notification settings - Fork 26
LanggraphJS / LangchainJS Adapter? #82
Copy link
Copy link
Open
Labels
compatibilityQuestions and proposals for expanding compatibility with other runtimes, frameworks and librariesQuestions and proposals for expanding compatibility with other runtimes, frameworks and libraries
Description
Activity
Metadata
Metadata
Assignees
Labels
compatibilityQuestions and proposals for expanding compatibility with other runtimes, frameworks and librariesQuestions and proposals for expanding compatibility with other runtimes, frameworks and libraries
Hi,
just let me pin this as idea: LanggrahpJS workflow can return a stream object, which you can use to iterate over it and hand over the information to server sent events. Maybe, it could make sense to forsee a special adapter amongst better-sse. Even concerning having a kind of user specific event mechanism.
https://langchain-ai.github.io/langgraphjs/how-tos/streaming-events-from-within-tools/#define-graph-and-tools
for example.