for node in answer.source_nodes: print('-----') text_fmt = node.node.text.strip().replace('\n', ' ')[:1000] print(f"Text:\t {text_fmt} ...") print(f'Metadata:\t {node.node.extra_info}') print(f'Score:\t {node.score:.3f}')
extra_info