Skip to content

Commit

Permalink
update DEFAULT_OPENAI_GENERATE_MODEL because of deprication
Browse files Browse the repository at this point in the history
`text-davinci-003` was [deprecated](https://platform.openai.com/docs/deprecations).

We noticed the issue when we were using a default model for contextual rephrasing in Studio.

This PR just changes a default to a new `gpt-3.5-turbo-instruct` model
  • Loading branch information
Cordo-van-Saviour committed Jan 19, 2024
1 parent cca30d4 commit 90297eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rasa/utils/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

AI = "AI"

DEFAULT_OPENAI_GENERATE_MODEL_NAME = "text-davinci-003"
DEFAULT_OPENAI_GENERATE_MODEL_NAME = "gpt-3.5-turbo-instruct"

DEFAULT_OPENAI_CHAT_MODEL_NAME = "gpt-3.5-turbo"

Expand Down

0 comments on commit 90297eb

Please sign in to comment.