Marker-Inc-Korea / RAGchain

Extension of Langchain for RAG. Easy benchmarking, multiple retrievals, reranker, time-aware RAG, and so on...
Apache License 2.0
269 stars 26 forks source link

[Refactor] MongoDB use `insert_one` at save() #438

Closed vkehfdl1 closed 6 months ago

vkehfdl1 commented 6 months ago

It is inefficient.

vkehfdl1 commented 6 months ago

Plus, if there is duplicate "_id" key in mongo db, it occurs error and stop everything.