langchainjs
langchainjs copied to clipboard
This PR is an attempt to add the foundational code needed for loaders. It also adds a BaseCheerioLoader that uses [cheerio](https://www.npmjs.com/package/cheerio) in place of BeautifulSoup for dom-traversal. It builds on...
This PR aims to implement TokenTextSplitter by utilising JS-Rust binding of [`openai/tiktoken`](https://github.com/openai/tiktoken): Disclaimer: The bindings are maintained in a separate repository https://github.com/dqbd/tiktoken, aiming to upstream the changes back to the...
Hi, already flagged that (and added my solution) on Discord - but felt like having it on GitHub might be a bit more productive. Providing documents with not enough or...
Implements the [extensionless](https://github.com/andrewbranch/example-subpath-exports-ts-compat/tree/main/examples/node_modules/extensionless) approach to subpath resolution.
Here is an attempt to add a base docstore implementation and an in-memory docstore using a TS Map. I moved a few files around to better match the file structure...