Hunter1244EL
Hunter1244EL6mo ago

Hunter1244EL - Will the new gpt-4o model work o...

Will the new gpt-4o model work out of the box? just wondering if anyone has tested import OpenAI from "openai"; const openai = new OpenAI(); async function main() { const completion = await openai.chat.completions.create({ messages: [{ role: "system", content: "You are a helpful assistant." }], model: "gpt-4o", }); console.log(completion.choices[0]); } main();
0 Replies
No replies yetBe the first to reply to this messageJoin