Я пытаюсь использовать класс Neo4jGraph из модуля langchain_community.graphs в своем проекте Python для взаимодействия с базой данных Neo4j. Мой сценарий здесь:
ValueError: Could not use APOC procedures. Please ensure the APOC plugin is installed in Neo4j and that 'apoc.meta.data()' is allowed in Neo4j configuration
neo4j.exceptions.ClientError: {code: Neo.ClientError.Procedure.ProcedureNotFound} {message: There is no procedure with the name `apoc.meta.data` registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.}
Я пытаюсь использовать класс Neo4jGraph из модуля langchain_community.graphs в своем проекте Python для взаимодействия с базой данных Neo4j. Мой сценарий здесь: [code]from langchain.chains import GraphCypherQAChain from langchain_community.graphs import Neo4jGraph from langchain_openai import ChatOpenAI
chain.invoke({"query": "Who is Bob?"}) [/code] Здесь ошибка: [code]ValueError: Could not use APOC procedures. Please ensure the APOC plugin is installed in Neo4j and that 'apoc.meta.data()' is allowed in Neo4j configuration neo4j.exceptions.ClientError: {code: Neo.ClientError.Procedure.ProcedureNotFound} {message: There is no procedure with the name `apoc.meta.data` registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.} [/code] Как решить проблему?