langchain-rust icon indicating copy to clipboard operation
langchain-rust copied to clipboard

make document loaders a standalone crate in repo

Open cs50victor opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when I want to use document loaders for a simple task but I have to import the entire langchain crate

Describe the solution you'd like A clear and concise description of what you want to happen. I would love to import document_loaders from the langchain repo directly in my toml file.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

cs50victor avatar Jul 18 '24 13:07 cs50victor

Is feature flag not enough? We can add more if needed. Do you mean each document loader becomes its own crate or just have all document loaders in one crate behind feature flags is enough?

prabirshrestha avatar Jul 20 '24 05:07 prabirshrestha

ideally i would love if i could import all document loaders in one crate

document_loaders = { git = "https://github.com/Abraxas-365/langchain-rust" }

cs50victor avatar Jul 21 '24 05:07 cs50victor