chatgpt-your-files icon indicating copy to clipboard operation
chatgpt-your-files copied to clipboard

gpt-3.5-turbo-0613 is being deprecated on 6/13/2024; need to update to gpt-3.5-turbo-instruct

Open princetrunks opened this issue 9 months ago • 2 comments

I saw that if using the OpenAI apis that the model used in the chat function, gpt-3.5-turbo-0613 , will be soon deprecated and might not work.

As per this page: https://platform.openai.com/docs/models/gpt-3-5-turbo

I confirmed on my instance that changing line 122 in supabase/functions/chat/index.ts to gpt-3.5-turbo-instruct works with uploaded documents/ previously saved embeddings. Going to any other will not work and the chat will not know of the documents as it seems that the structure of completionStream or completionMessages might need to be refactored for newer models. This from how OpenAI states that the gpt-3.5-turbo-instruct model still uses legacy completions.

princetrunks avatar Jun 02 '24 00:06 princetrunks