Find answers from the community

Updated 3 months ago

Sources query

When querying your index via "query_engine.query()", is it possible to add source to the response? Do I need to grab it via "response.get_formatted_sources()" ?
L
b
2 comments
You can check that function, but it only gets a string

You can inspect the source nodes manually by looking at response.source_nodes
I see. I'll check that out. Thanks!
Add a reply
Sign up and join the conversation on Discord