mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-11-23 01:54:37 +03:00
Reverted Wasp AI to use GPT-3.5-Turbo-0613.
This commit is contained in:
parent
0b49996466
commit
088413fdbc
@ -57,7 +57,9 @@ createNewProjectInteractiveOnDisk waspProjectDir appName = do
|
||||
[ Interactive.Option
|
||||
"gpt-4 (planning) + gpt-3.5-turbo (coding)"
|
||||
(Just "Ok results. Cheap and fast. Best cost/benefit ratio.")
|
||||
(ChatGPT.GPT_4, ChatGPT.GPT_3_5_turbo),
|
||||
-- NOTE: We are still using 0613 for now, even though it will get deprecated in June 2023,
|
||||
-- because 0125 returns files with newlines missing.
|
||||
(ChatGPT.GPT_4, ChatGPT.GPT_3_5_turbo_0613),
|
||||
Interactive.Option
|
||||
"gpt-4 (planning) + gpt-4-turbo-preview (coding)"
|
||||
(Just "Possibly better results, but somewhat slower and somewhat more expensive (~2-3x).")
|
||||
|
@ -153,7 +153,9 @@ codingChatGPTParams projectDetails =
|
||||
GPT._temperature = Just $ fromMaybe 0.7 (projectDefaultGptTemperature $ _projectConfig projectDetails)
|
||||
}
|
||||
where
|
||||
defaultCodingGptModel = GPT.GPT_3_5_turbo
|
||||
-- NOTE: We are still using 0613 for now, even though it will get deprecated in June 2023,
|
||||
-- because 0125 returns files with newlines missing.
|
||||
defaultCodingGptModel = GPT.GPT_3_5_turbo_0613
|
||||
|
||||
planningChatGPTParams :: NewProjectDetails -> ChatGPTParams
|
||||
planningChatGPTParams projectDetails =
|
||||
|
@ -91,6 +91,7 @@ data Model
|
||||
GPT_3_5_turbo -- Alias model
|
||||
| GPT_3_5_turbo_0125
|
||||
| GPT_3_5_turbo_1106
|
||||
| GPT_3_5_turbo_0613
|
||||
| --
|
||||
GPT_4_turbo_Preview -- Alias model
|
||||
| GPT_4_0125_Preview
|
||||
@ -111,6 +112,7 @@ modelOpenAiId = \case
|
||||
GPT_3_5_turbo -> "gpt-3.5-turbo"
|
||||
GPT_3_5_turbo_0125 -> "gpt-3.5-turbo-0125"
|
||||
GPT_3_5_turbo_1106 -> "gpt-3.5-turbo-1106"
|
||||
GPT_3_5_turbo_0613 -> "gpt-3.5-turbo-0613"
|
||||
GPT_4_turbo_Preview -> "gpt-4-turbo-preview"
|
||||
GPT_4_0125_Preview -> "gpt-4-0125-preview"
|
||||
GPT_4_1106_Preview -> "gpt-4-1106-preview"
|
||||
|
Loading…
Reference in New Issue
Block a user