Merhabalar,alttaki model kısmı gpt-3.5-turbo olunca çalışıyor fakat GPT 4 yapmak istediğimde model bulunamadı hatası almaktayım. Ne yazmam gerekiyor?
gpt-4,text-davinci-004,gpt-4-0125-preview denedim const API_KEY = "api";
fetch('https://api.openai.com/v1/chat/completions', {
method: 'POST',
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer ${API_KEY}`
},
body: JSON.stringify({
model: "gpt-3.5-turbo",
messages: [
{
role: "system",
content: "xxxx"
},
{
role: "user",
content: text
}
],
temperature: 1,
max_tokens: 1000,
top_p: 1,
frequency_penalty: 0,
presence_penalty: 0
})