Skip to content

Traceback (most recent call last): File "/home/cdhd/PythonCode/pythonProject/Knowledge/Neo4j/neo4j_vectore.py", line 80, in <module> graph_documents = llm_transformer.convert_to_graph_documents(document) File "/home/cdhd/PythonCode/pythonProject/.venv/lib/python3.10/site-packages/langchain_experimental/graph_transformers/llm.py", line 762, in convert_to_graph_documents return [self.process_response(document) for document in documents] File "/home/cdhd/PythonCode/pythonProject/.venv/lib/python3.10/site-packages/langchain_experimental/graph_transformers/llm.py", line 762, in <listcomp> return [self.process_response(document) for document in documents] File "/home/cdhd/PythonCode/pythonProject/.venv/lib/python3.10/site-packages/langchain_experimental/graph_transformers/llm.py", line 714, in process_response nodes_set.add((rel["head"], rel["head_type"])) TypeError: list indices must be integers or slices, not str #24055

Unanswered
li-hhhh asked this question in Q&A
Discussion options

You must be logged in to vote

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@li-hhhh
Comment options

@dosubot
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant