#[resolved] Help with 400

1 messages · Page 1 of 1 (latest)

rough cradle
#

Creating a thread since I didn't get any response from a post

burnt kayak
#

you are not setting the model anywhere

rough cradle
#

where should i set the model?

#

as part of the data object?

#

btw thanks for responding 🙏

#

i added it part of data object and i also added a response_format, but i'm getting :

NameError: name 'model' is not defined

#

i set model to "gpt-3.5-turbo"

burnt kayak
#

its missing '

#

or messages should not have them

rough cradle
#

o thanks i wasn't aware of the api reference, i've only just been using the documentation

#

i ended up just using the library and got it working.