langchain
LlamaIndex在数据索引和RAG方面比LangChain更专业。面试时说你精通LlamaIndex的数据管道,会显得你很懂“数据”。
LangChain 生态系统(langchain, langchain-community, langchain-core, langchain-openai)更新极快,版本号非常碎片化。且它们之间有严格的互相依赖关系(例如 community 0.2 必须配 core 0.2)。
只要你环境里有一个包锁死了旧版本的 langchain-core,Pip 就不得不把所有的新版本全部遍历一遍,直到降级到匹配为止。
但是我ragas必须用langchain,但是主环境因为其他安装了旧的版本不是很想改,必须保持纯净
[[Ragas测试]]
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
Comments


