JSPM

chatbox-dev-ai

1.0.4
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 231
    • Score
      100M100P100Q81204F
    • License MIT

    Interact with Chatterbox AI using this NPM package for free.

    Package Exports

    • chatbox-dev-ai
    • chatbox-dev-ai/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (chatbox-dev-ai) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    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);