community[minor]: Add puppeteer agent tool
Adds puppeteer agent tool. When testing out projects using the in-built WebBrowser, we found the lack of JS execution with Cheerio to be challenging.
This instead leverages Puppeteer to handle full page execution, returning a lightly cleaned version of HTML, plus the ability to generate embeddings and send valid chunks to the specified model.
This is my first contribution here, so please let me know if I've missed anything, or if there is any feedback. Thank you!
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| langchainjs-api-refs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 13, 2024 9:23pm |
| langchainjs-docs | ✅ Ready (Inspect) | Visit Preview | Jun 13, 2024 9:23pm |
Hey @stevenmichaelthomas! Thanks for the PR. Looks really cool!
I ran yarn format and registered the entrypoint artifacts to langchain.config.js. Could you add some docs and possibly an integration test as well?
Thanks so much for the feedback! I'll incorporate changes and ping you when everything is added in and tests are passing.
I like this idea
Hey @stevenmichaelthomas, sorry to revive an old PR!
The community package has become rather unwieldy, so generally we recommend repackaging changes like this into a standalone NPM module. You can keep this in your own GitHub repo and publish it to NPM yourself without our involvement, but to make it discoverable you can still create a PR that adds a page about it in our integration docs.
We're happy to support this in any way we can, but adding additional maintenance burden to the langchain.js monorepo currently isn't tenable for us right now.