eduardconstantin / storybook-gpt

Storybook GPT is a web application for generating Storybook stories from React components using OpenAI API
https://storybook-gpt.vercel.app
MIT License
25 stars 17 forks source link

Migrate OpenAI model #22

Closed mlsm-trl closed 10 months ago

mlsm-trl commented 10 months ago

The API is returning error on generation:

{
    "error": {
        "message": "The model `text-davinci-003` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations",
        "type": "invalid_request_error",
        "param": null,
        "code": "model_not_found"
    }
}

Model text-davinci-003 should be migrated to gpt-3.5-turbo-instruct

See notice about models shutdown

eduardconstantin commented 10 months ago

I updated the model to gpt-3.5-turbo-instruct If everything is fine now please close the issue