- Issue created by @spokje
- Merge request !76Replace text-davinci-003 with the (current) default model gpt-3.5-turbo model. → (Open) created by spokje
- Status changed to Needs review
11 months ago 11:33am 1 February 2024 - First commit to issue fork.
In modules/openai_dblog/config/install/openai_dblog.settings.yml
the model is defined as text-davinci-003
.
This makes it the model to us _unless_ the config form at /admin/config/openai/openai-dblog/settings
is saved.
Note that on this form there's no option in the select-dropdown for text-davinci-003
, so the page will (incorrectly) show gpt-3.5-turbo
(being the first available option in the dropdown) being used.
On top of that, text-davinci-003
has been shut down on January 04, 2024. See https://platform.openai.com/docs/deprecations/instructgpt-models
So now, openai_dblog itself will throw an error in the dblog (oh, the irony...):
There was an issue obtaining a response from OpenAI. The error was The model `text-davinci-003` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations.
- Vanilla install openai_dblog
- Have an Emergency, Alert, Critical or Error-level db_log entry present in your DB log.
- Go to /admin/reports/dblog
- Refresh page
- See the above mentioned Error.
- Replace text-davinci-003
with the (current) default model gpt-3.5-turbo
in modules/openai_dblog/config/install/openai_dblog.settings.yml
, so new installs run into this issue.
- Create a hook_update_n
that changes this in the actual config of the site, so already present installs don't run into this issue.
Needs review
1.0
OpenAI Log Analyzer