0.0.1 • Published 6 months ago

@alonmota/ai-qa-bot v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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