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

normalize vector store methods #139

Open prabirshrestha opened 4 months ago

prabirshrestha commented 4 months ago

Currently some vector store such as PgVector initializes the collection when using the StoreBuilder. This can be very expensive if we initialize the StoreBuilder in every http request. Consider adding methods such as initialize_collection(), remove_collection(), clear_collection() in VectorStore trait.