Find answers from the community

Updated 3 months ago

If I have a database of blogs is it

If I have a database of blogs, is it possible to return the reference site when getting answers back?
L
S
2 comments
How are you currently creating your documents for the index?

You can use the extra_info and include the reference site

document.extra_info = {"reference site": "ref_site"}

Then, in the response object, each source node should have that info

i.e. checking the first source node
response.source_nodes[0].extra_info
@Logan M I am just starting this journey. We are aggregating tweets around a specific topic; if there is a URL in that tweet, we save it and later scrape the content and save it to a database. Now I want to index the database so if someone asks, tell me more about threat X, we want to return a summary as well as reference off all the blogs used.
Add a reply
Sign up and join the conversation on Discord