Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support LangchainJS #45

Open
alexkreidler opened this issue May 31, 2023 · 1 comment
Open

Support LangchainJS #45

alexkreidler opened this issue May 31, 2023 · 1 comment

Comments

@alexkreidler
Copy link

LangchainJS has tracing built-in [1] and emits the same events to the tracing HTTP API. It would be great if this tool could also read events from the same API, or implement LangchainJS callbacks [2], so that it could visualize chain data. Thanks for this great project!

  1. https://js.langchain.com/docs/production/tracing
  2. https://js.langchain.com/docs/production/callbacks/#multiple-handlers
@amosjyng
Copy link
Owner

amosjyng commented Jun 3, 2023

Unfortunately, this project is just a simple hacky wrapper around Ought's ICE visualizer, which seems to do a lot of magic around the call stack. My last attempt to use Langchain's callbacks for visualization failed due to this magic, so I think a proper solution is required that will write the execution tree to disk in ICE's expected file format.

It's on my todo list, but I haven't quite gotten around to it yet :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants