@alonmota/ai-qa-bot
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

AI-QA-BOT

A cli tool that reads up provided documents and answer questions about them

oclif CircleCI GitHub license

Usage

$ npm install -g @alonmota/ai-qa-bot
$ bot COMMAND
running command...
$ bot (--version)
@alonmota/ai-qa-bot/0.0.1 linux-x64 node-v18.16.0
$ bot --help [COMMAND]
USAGE
  $ bot COMMAND
...

Commands

bot ask-ai "What is the purpose of this cli tool?"

Answer questions about a set of documents

USAGE
  $ bot ask-ai "What is the purpose of this cli tool?"

ARGUMENTS
  QUESTION  Question

FLAGS
  -f, --pathToFolder=<value>  [default: ./files] Path to folder containing the documents

DESCRIPTION
  Answer questions about a set of documents


  Load a folder with the set of files you want to query upon, you can use pdf, txt, md or doc files.
  Than ask a question, the system will read all files in the folder and answer according to the content on them


EXAMPLES
  Display command options

    $ bot ask --help

  Make a question

    $ bot ask "QUESTION HERE"

  Provide a path to a folder containing relevant files

    $ bot ask "What is the purpose of this cli?" -f="./files"

See code: src/commands/ask/index.ts

bot help [COMMANDS]

Display help for bot.

USAGE
  $ bot help [COMMANDS] [-n]

ARGUMENTS
  COMMANDS  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for bot.

See code: @oclif/plugin-help

Readme

Keywords

Package Sidebar

Install

npm i @alonmota/ai-qa-bot

Weekly Downloads

4

Version

0.0.1

License

MIT

Unpacked Size

15.2 kB

Total Files

22

Last publish

Collaborators

  • alonmota