"openai.error.InvalidRequestError: The model:
gpt-4 does not exist"
pip install --upgrade langchain openai
and double check the token. llm_predictor = LLMPredictor(llm=ChatOpenAI(temperature=0, model_name="gpt-3.5-turbo"))
query = "What's Daniel's address?"
response = llm_predictor.predict(Prompt(query))
AttributeError: 'Prompt' object has no attribute 'input_variables'