当前位置:   article > 正文

LangChain中使用Neo4j图数据报错:Could not use APOC procedures. Please install the APOC plugin in Neo4j.解决方式。_valueerror: could not use apoc procedures. please

valueerror: could not use apoc procedures. please ensure the apoc plugin is

首先,报这个错说明你的LangChain版本不够新,请更新LangChain

LangChain是一个每天都在更新的快速迭代的框架,务必保持版本更新。

更新到新版本后,这个报错变成:

apoc.meta.data is unavailable because it is sandboxed and has dependencies outside of the sandbox.

这表示这是APOC没有正确配置

解决方案:在Neo4j的conf文件中找到:

dbms.security.procedures.unrestricted

在后面添加对APOC的支持,比如:

dbms.security.procedures.unrestricted=apoc.*

如果还不行,则检查其他APOC配置是否配置完成 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/362656
推荐阅读
相关标签
  

闽ICP备14008679号