Find answers from the community

Updated last year

it s something like that with the

it's something like that, with the metadata being your document

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}')
O
V
3 comments
It'll be in the extra_info ?
gives output like that
Attachment
image.png
Add a reply
Sign up and join the conversation on Discord