1.0.2 • Published 1 year ago

lewixx-ai v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Lewixx AI

Hello, I'm Lewixx, and here is Lewixx AI presenting artificial intelligence to you through the use of GPT-4. With this artificial intelligence, let's learn how to use it, shall we?

Version 1:

const ai = require('lewixx-ai');
ai.gpt('What is Javascript').then(response=> {
	console.log(response);
});

Version 2:

const ai = require('lewixx-ai');
const prompt = require('prompt-sync')();

const name = prompt('Hello! How can I help you?');
const question = `${name}`;

ai.gpt(question).then(response=> {
	console.log(response);
});

To use the second version, you need to write npm i prompt-sync in the terminal.

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago