LLMGraphTransformer.convert_to_graph_documents(文档)AttributeError:“str”对象没有属性“content”问题描述 投票:0回答:1from langchain_core.documents import Document text = """ Marie Curie, born in 1867, was a Polish and naturalised-French physicist and chemist who conducted pioneering research on ...
---> 5 graph_documents = llm_transformer.convert_to_graph_documents(documents) 2 frames /usr/local/lib/python3.10/dist-packages/langchain_experimental/graph_transformers/llm.pyin process_response(self, document) 593 nodes_set = set() 594