Find answers from the community

Updated 8 months ago

Hey guys, wanted to ask if there's a way

Hey guys, wanted to ask if there's a way to get resources at the end of the chat engine response? By resources I mean to show the user from where did the answer's content came from.
W
T
3 comments
Hey, Try with print(response.source_nodes)
It will contain the nodes that were used to generate the final response
Thanks! That helped!
Add a reply
Sign up and join the conversation on Discord