BuildShipBBuildShip
Powered by
Hunter1244ELH
BuildShip•2y ago
Hunter1244EL

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();
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Joy - when will the openai assistant node work ...
JoyJJoy / 💬・general
2y ago
Hunter1244EL - Hey all, is there a way to easil...
Hunter1244ELHHunter1244EL / 💬・general
14mo ago
RustInPeace - saw the new flash 2.0 model was r...
RustInPeaceRRustInPeace / 💬・general
14mo ago
Almendra10 - Hey guys, is the GPT Crawler templ...
Almendra10AAlmendra10 / 💬・general
2y ago