-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docstring fix: Example of elasticsearch custom query that works correctly with substitions. Added unit test. Added verbose kwarg for debugging to finder and retriever. #359
Conversation
Hey @skirdey, Thanks for working on the "verbose" option. Let us know when you are done and we should review. |
Maybe one comment already from our side: We believe it's useful to log more debug messages and the ones that you added seem helpful. However, we believe it would be nicer to use |
Hi tholor, |
Ok, I totally see the use case of debugging API requests in a production setup. What I would like to understand better is why you don't do this by setting the global logging level to debug and search in the logs for the request of interest? If we go forward with the
Therefore, I would only like to include it in Haystack if there's a big advantage for debugging that outweighs the above points. |
Good point, let me try setting loglevel for haystack and see what is the output in prod. I'll adjust the PR accordingly. |
I suppose switching log level worked for you? |
I will need to do another PR for the debug messages, it does work. |
No description provided.