Word by word.
Answers stream as she writes them, so your users never stare at a spinner.
Not a script with buttons. A real AI assistant your users can talk to about anything, in your app or on your website.
Answers stream as she writes them, so your users never stare at a spinner.
She replies in the language each person writes in: 25 of them.
Set the tone and focus once: friendly, formal, short, expert. She keeps it.
The API keeps no memory of conversations. You decide what to keep.
// npm i openai · N1NA speaks the OpenAI formatimport OpenAI from "openai"; const n1na = new OpenAI({ apiKey: process.env.N1NA_KEY, baseURL: "https://api.n1na.ai/v1", }); const reply = await n1na.chat.completions.create({ model: "n1na-chat", messages: [{ role: "user", content: "A customer asks: can I change my delivery address after ordering?" }], }, { headers: { "X-N1NA-User": user.id } });
Normal chatbots follow scripts. N1NA understands what people mean and answers in her own words, in 25 languages.
Yes. Set stream: true and answers arrive word by word, in the OpenAI format.
Yes. Anything that can call an API can use N1NA.