You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running through the graphreader_langgraph notebook, I observed around one out of five chances so far the get_subsequent_chunk_id function below will have this error ClientError: {code: Neo.ClientError.Statement.ParameterMissing} {message: Expected parameter(s): id}. In this example, I have six available actions. Chosen action: {'function_name': 'read_chunk', 'arguments': [['9999fbec5c990d4898b35522343e4eba', 'ddbf9deb5119c6fb9678998578f952cd', '4b3aa3854130edc1178f56a5fc746b32', 'acdd065f5684436bfa685ac0aeadb014', 'e6170aaa2c9d96929b03ad0e2c22902a', '9740f3bff8d39959e0a479c3f61ee072']]}. It went through 4 actions, but showed up above error. Looking at the function below, presumably it tried to match next.id. For some reason, this chunk was missing the id I guess. Not sure what could happen during the graphreader_import notebook where the id was accidentally dropped or missing.
def get_subsequent_chunk_id(chunk):
data= neo4j_graph.query("""
MATCH (c:Chunk)-[:NEXT]->(next)
WHERE c.id = $id
RETURN next.id AS next
""")"
The text was updated successfully, but these errors were encountered:
When running through the graphreader_langgraph notebook, I observed around one out of five chances so far the get_subsequent_chunk_id function below will have this error ClientError: {code: Neo.ClientError.Statement.ParameterMissing} {message: Expected parameter(s): id}. In this example, I have six available actions. Chosen action: {'function_name': 'read_chunk', 'arguments': [['9999fbec5c990d4898b35522343e4eba', 'ddbf9deb5119c6fb9678998578f952cd', '4b3aa3854130edc1178f56a5fc746b32', 'acdd065f5684436bfa685ac0aeadb014', 'e6170aaa2c9d96929b03ad0e2c22902a', '9740f3bff8d39959e0a479c3f61ee072']]}. It went through 4 actions, but showed up above error. Looking at the function below, presumably it tried to match next.id. For some reason, this chunk was missing the id I guess. Not sure what could happen during the graphreader_import notebook where the id was accidentally dropped or missing.
def get_subsequent_chunk_id(chunk):
data= neo4j_graph.query("""
MATCH (c:Chunk)-[:NEXT]->(next)
WHERE c.id = $id
RETURN next.id AS next
""")"
The text was updated successfully, but these errors were encountered: