Find answers from the community

Updated 11 months ago

Hello, I was developing a chatbot

Hello, I was developing a chatbot application with an LLM locally with a focus on acquiring data from PDF documents, I was wondering if it was possible through llama-index to somehow configure this chat model so that the responses provide the location or the name of the document from which the answer to a certain question was obtained, or if, on the contrary, I would need some other framework, I ask for your advice.
T
S
2 comments
The nodes will have the filename + page number as metadata, you can view it with
Plain Text
print(response.source_nodes)
Ohh i didnt know that, thanks!
Add a reply
Sign up and join the conversation on Discord