3 ms·
Could be I used an older API with the newer model. But there was no loop around the request only human input with mouse clicks from two people. Whatever was hap
by Ultimatt 4y ago
Could be I used an older API with the newer model. But there was no loop around the request only human input with mouse clicks from two people. Whatever was happening on the billing side there is zero chance Id ever post a project to HN for example.
fetch("https://api.openai.com/v1/chat/completions", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${window.localStorage.getItem('apikey')}`,
},
body: JSON.stringify({
"messages":[
{"role":"system","content":""},
{"role":"user","content":""}
],
"temperature":0.9,
"max_tokens":300,
"top_p":1,
"frequency_penalty":0,
"presence_penalty":0.6,
"model":"gpt-3.5-turbo",
"stream":false}),
})
])
- sebzim4500 4y agoWeird. My other guess was that you might be using best_of but you aren't doing that either.