Lesson 3 Tool Calling, What if the query provided page does not contain the answer?

In lesson3 Tool Calling, Various examples for query with page- number as extra data info are provided. What if the info with regards to query does not contain in the particular page. What will happen then? Will response we get is of hallucination or right information by querying all the chunks of the PDF?

for pages with text other than page 8, let’s take page 10 I am getting the following response “MetaGPT was compared with ChatDev in terms of their performance and capabilities.”

When I have given pages with only citations like page 31, I am getting empty response.

How to build a retrieval engine if you are unsure about the behavior of the user that he will always provide the right information, but you would like to provide the right info?