logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))
"openai.error.InvalidRequestError: The model:
gpt-4 does not exist"
from llama_index.readers.base import BaseReader
ModuleNotFoundError: No module named 'llama_index.readers.base'
pip install llama-index-readers-smart-pdf-loader
ZeroDivisionError: integer division or modulo by zero
INFO:gpt_index.indices.keyword_table.query:> Extracted keywords: []
01:17:38.145 error_code=None error_message="[''] is not valid under any of the given schemas - 'input'" error_param=None error_type=invalid_request_error message='OpenAI API error received' stream_error=False