WASP AI feature - still using old OpenAI models?

I am trying to use the WASP AI feature to generate an app with the OpenSaaS template. It appears the WASP AI still uses the old models gpt-4-0613. How can I update this with the latest one: gpt-4-turbo?
4 Replies
MEE6
MEE68mo ago
Wohooo @cking!M, you just became a Waspeteer level 1!
kapa.ai
kapa.ai8mo ago
Hi @cking!M. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Hmm, I don't know enough to give you a confident answer yet. The knowledge sources provided do not contain specific information about updating the OpenAI models used by Wasp AI. However, it's mentioned that you can provide your own OpenAI API keys when running wasp new on your machine and picking AI generation, which allows for more flexibility, including potentially choosing GPT models source (https://wasp-lang.dev/docs/wasp-ai/creating-new-app). For more detailed instructions, I recommend checking the official Wasp documentation or reaching out to the Wasp community for support. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @cking!M, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
Filip
Filip8mo ago
Hey @cking!M! You can pass the Open AI model name through the command line, take a look at the help screen:
❯ wasp new:ai
USAGE
wasp new:ai <app-name> <app-description> <config-json>

Config JSON:
It is used to provide additional configuration to Wasp AI.
Following fields are supported:
{
"defaultGptTemperature"?: number (from 0 to 2)
"planningGptModel"?: string (OpenAI model name)
"codingGptModel"?: string (OpenAI model name)
"primaryColor"?: string (Tailwind color name)
}

EXAMPLES
wasp new:ai ButtonApp "One page with button" "{}"
wasp new:ai ButtonApp "One page with button" "{ \"defaultGptTemperature\": 0.5, \"codingGptModel\": \"gpt-4-1106-preview\" }"
❯ wasp new:ai
USAGE
wasp new:ai <app-name> <app-description> <config-json>

Config JSON:
It is used to provide additional configuration to Wasp AI.
Following fields are supported:
{
"defaultGptTemperature"?: number (from 0 to 2)
"planningGptModel"?: string (OpenAI model name)
"codingGptModel"?: string (OpenAI model name)
"primaryColor"?: string (Tailwind color name)
}

EXAMPLES
wasp new:ai ButtonApp "One page with button" "{}"
wasp new:ai ButtonApp "One page with button" "{ \"defaultGptTemperature\": 0.5, \"codingGptModel\": \"gpt-4-1106-preview\" }"
Here's an example of one such call
❯ wasp new:ai expenses "Build an expense tracker that supports multiple users" '{ "planningGptModel": "gpt-3.5-turbo-0125" }'
❯ wasp new:ai expenses "Build an expense tracker that supports multiple users" '{ "planningGptModel": "gpt-3.5-turbo-0125" }'
And these are the models we currently support:
gpt-3.5-turbo
gpt-3.5-turbo-0125
gpt-3.5-turbo-1106
gpt-3.5-turbo-0613
gpt-4-turbo-preview
gpt-4-0125-preview
gpt-4-1106-preview
gpt-4
gpt-4-0613
gpt-4-32k
gpt-4-32k-0613
gpt-3.5-turbo
gpt-3.5-turbo-0125
gpt-3.5-turbo-1106
gpt-3.5-turbo-0613
gpt-4-turbo-preview
gpt-4-0125-preview
gpt-4-1106-preview
gpt-4
gpt-4-0613
gpt-4-32k
gpt-4-32k-0613
@martinsos Seems like we don't have a docs page listing all these models. Should we make one?
martinsos
martinsos7mo ago
Also: 1. You can't generate an app with OpenSaas tempalte at the moment, Wasp AI doesn't support that. 2. We don't support GPT-4-turbo. I am not sure if the model maybe got much better recently, but a couple of months ago when it came out, it was not great performance wise, so we on purpose stuck to the 0613.
Want results from more Discord servers?
Add your server