const NurmoAI = require("nurmoai");
const nurmo = new NurmoAI({
apiKey: process.env['NurmoAI_KEY'], // This is the default and can be omitted
});
async function Main() {
const aiResponse = await nurmo.createCompletion({
messages: [{ role: "user", content: "Say this is a test" }],
model: "nurmo-3",
character: "Batman"
});
console.log(aiResponse);
}
Main()