It’s a time that I worked with OpenAI, but now I was looking into an old project again And had to find out, that it doesn’t work anymore because I got the message “text-davinci-edit-001` has been deprecated”.
When I was looking into the documentation I found out that it’s totally different now and I can’t find the EDITs anymore and the example request looked like this:
What is the new alternative or am I just too stupid to find it in the new documentation?
1 Like
All of these features have been consolidated into a single model (GPT-x)
1 Like
Thank you for the fast response, but now I’m really confused, where can I find it in the documentation?
It has been removed, and no similar model exists.
Instead you can try a normal prompt to get close to similar results. You actually get better results with GPT-4 at same price tha text-davinci-edit. The original edit models were far from perfect (only kind-of worked). For insert it does not seem to work as well as davinci-insert series, at least for short inserts. Anyway, unfortunately exactly same API or feature does not exist as these speciality models (insert and edit series)
I have not tried to make the perfect prompt, but I would start with something like the below. I expect the main challenge you might have is that you do not only get the edited text, but instead also some comments like “Sure, here is the edited text”
Edit the text according to instructions. """ONLY RETURN THE EDITED TEXT"""
*INSTRUCTIONS: *
*TEXT TO EDIT:*
You can do it with chat models, but the slightly easier is to use completion models. However, I think we can expect completion models to also deprecate in near future, unfortunately. They would be nice to have, but on other hand it is probably better to focus on few models that are as good as they can be than lots of speciality models.
1 Like
As stated at this URL, the previous models have been retired:
https://platform.openai.com/docs/deprecations
The same can be done using prompts with the GPT-4 model, with similar ones to those described above, although it may not adhere as closely to the previous models.
Ok, that’s unfortunate to hear, but thank you two for your help.