chatbox-dev-ai
v1.0.4
Published
Interact with Chatterbox AI using this NPM package for free.
Downloads
432
Maintainers
Readme
# chatbox-dev-ai
Interact with HAJI-CHATBOX (Unlimited) AI no need api-key!.
## Installation
```bash
npm install chatbox-dev-ai
To Chat With HAJI-CHATBOX
const { chatbox } = require('chatbox-dev-ai');
const userId = 'default';
const query = 'how to look attractive?';
chatbox(userId, query)
.then(response => {
console.log(response);
})
.catch(error => {
console.error(error);
});
To toggle websearch
const { toggle } = require('chatbox-dev-ai');
const message = toggle();
console.log(message);
To toggle code model
const { code } = require('chatbox-dev-ai');
const message = code();
console.log(message);
To Reset Conversation
const { clear } = require('chatbox-dev-ai');
const userId = 'default';
const message = clear(userId);
console.log(message);