leon.ai

0.0.6 • Public • Published

Installation

npm install leon.ai

Module usage

const { AI } = require(`leon.ai`)

async function s() {
    const myAi = new AI({
        usertoken: ``,
        sources: [ `Github`, `Wikipedia` ],
        language: `Turkish`
      // not out yet
    });

    const d1 = await myAi.question(`hello`);
    console.log(d1);

    const d2 = await myAi.getAIByID(3);
    console.log(d2);

    const d3 = await myAi.getAIByQuestion(`hello`);
    console.log(d3);

    const newAI = await myAi.createAI(`hello`, `hi`);
}

s()

Readme

Keywords

Package Sidebar

Install

Weekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

4.23 kB

Total Files

6

Last publish

Collaborators

  • westydev