This PR adds logging for the query outputs, so we know which documents were fed into the context, which model was used and which answer was returned to the user. Structured logging allows us to parse the logs later and extract the information we are interested in.
This PR adds logging for the query outputs, so we know which documents were fed into the context, which model was used and which answer was returned to the user. Structured logging allows us to parse the logs later and extract the information we are interested in.