One faster way would be to customize the prompt about how you want the output to look like. But it is not guaranteed whether it will work all the time or not.
@WhiteFang_Jr Thanks a lot for your answer. So i am doing with a prompt and the output is already a schema, but this does not help in case the context limit is reached for a prompt
Umm no, it does not get intelligent per se. But if you are adding new data, it'll definately be able to cater new areas of query that comes with the new data plus if you improve previously stored data then also there is an impact on response generation part.