Abraxas-365 / langchain-rust

🦜️🔗LangChain for Rust, the easiest way to write LLM-based programs in Rust
MIT License
491 stars 63 forks source link

make document loaders a standalone crate in repo #187

Open cs50victor opened 1 month ago

cs50victor commented 1 month ago

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.

prabirshrestha commented 1 month ago

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?

cs50victor commented 1 month ago

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

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