Find answers from the community

Updated 3 months ago

Hi

Hi
my code used to work well which is for answering questions among multi-pdfs. it now note:【InvalidRequestError: The model text-davinci-003 has been deprecated, learn more here: https://platform.openai.com/docs/deprecations】. i find text-davinci-003 shut down on 2024-01-04,i guess maybe because text-davinci-003 is no longger supported or someone know what's the reason. how to solve this, please let me know, tks a lot
Attachment
image.png
W
x
11 comments
Hi, Yes OpenAI has deprecated Da-vinci-003 model
I set model=gpt-3.5-turbo for bulding index, but how to set model for query
How are you setting model for indexing?
in my picture for code, llm_predictor = LLMPredictor(llm=OpenAI(temperature=0.7, model_name="gpt-3.5-turbo", max_tokens=num_outputs))
my llama-index and openai library version is old
Do you have any blcoker that is stopping you from updating llamaindex?
Because if you update, LlamaIndex has default to OpenAI GPT3.5 and their embed model
i haven't try to update the version, next i will try it. OK, tks. it works well for months and till a few days ago, today i found it not work.
thank you again!
Yeah they deprecated the model on 4th jan I guess 😅
Add a reply
Sign up and join the conversation on Discord