Find answers from the community

Updated 3 months ago

Hello Everyone,

Hello Everyone,
Hope all of you are having a great day!
Couple of questions:
1: As part of RAG implementation, how can we return back link to the original document from where the chatbot gave the answer?
2: As part of RAG implementation, the pdf doc text might contain some external links, how can we retain that as part of the answer being returned from the chatbot?
C
T
2 comments
Could you please help @Logan M ? 🥺
  1. You can access the source nodes for the response with
Plain Text
print(response.source_nodes)


  1. Do you want them to be included in the LLM response? If the source nodes contain them, it should be able to give them in the response.
Add a reply
Sign up and join the conversation on Discord