----------------------
Based on the knowledge sources provided, I don't have specific information about logging configuration options in LlamaIndex to hide the httpx messages you're seeing. The documents mainly show examples of these logs appearing, but don't discuss how to configure or suppress them within LlamaIndex itself.
However, since these are logging messages, it's likely that you can control them using Python's standard logging configuration. LlamaIndex probably uses Python's logging module, which allows for adjusting log levels.
Here's a general approach you could try, although I can't guarantee it will work without specific LlamaIndex documentation:
- Import the logging module at the beginning of your script or notebook:
- Set the logging level to a higher level, such as WARNING, which should suppress INFO level messages:
logging.getLogger("httpx").setLevel(logging.WARNING)
You might also need to set the level for the LlamaIndex logger, if it exists:
logging.getLogger("llama_index").setLevel(logging.WARNING)
These steps should theoretically reduce the amount of log output you're seeing, including the httpx messages.
However, I must emphasize that this is a general logging approach and not specifically documented for LlamaIndex based on the knowledge sources provided. If this doesn't work, or if you need more specific guidance, I recommend checking the official LlamaIndex documentation for any logging configuration options, or reaching out to their support channels or community forums for more tailored advice.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------