How do we actually use GPT4 in our Node.js after approval?

So, I’ve been using text-davinci-3, and use the openai npm package, but when I change the model to gpt-4 it doesn’t work, so I’m guessing it’s not supported?

Are there any docs on how to access gpt-4 (been accepted on the waitlist) in an API or are there only custom solutions as of yet?

You need to use the chat completions endpoint, which differs from the completions endpoint used by text-davinci-003. You must also use the ChatML format.

1 Like

Ah, you’re an amazing person :slight_smile: Thanks Brian!

1 Like