from llama_index import Document doc = Document(text="This is first doc",doc_id="Set_YOUR_OWN_ID" ) print(doc) # It will print the doc text and the created doc ID for this. # you can change the default created doc_id as well doc.doc_id = "Set_YOUR_OWN_ID"
for node in response.source_nodes: print(node)