Giter Club home page Giter Club logo

pb-cli's People

Contributors

aadishjoshi avatar ameliavoncat avatar djfdev avatar julien-c avatar lkunze avatar pandorabots-admin avatar pb-tester avatar yyconn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pb-cli's Issues

Downloading .zip file with incorrect credentials is broken

To recreate:

  1. Create a chatbot.json file with a bad user_key.
  2. Download .zip of bot files:
$ pb get --all

The CLI creates .zip file, but it cannot be unzipped. This command should display an "unauthorized" error in the case that bad credentials are supplied.

Validation needed for delete and remove commands

Need to implement some sort of validation when any DELETE like command is run. Example:

$ pb delete
Please enter the name of the bot to confirm deletion
$ pb remove foo.aiml
Please re-enter the name of the file to confirm deletion

This will help curb accidental deletions.

push error

boo@devops-008:~/rosie$ pb --botname alex push lib
uploading: lib/aiml/animal.aiml
botname required. use --botname or do init

Option to save chat logs to a local file

There is currently no option to keep chat logs for interactions using pb-cli. A simple solution for users who want to keep local logs would be to allow a key in chatbot.json to specify an output path for writing interactions to a log file.

reset option for talk is missing

Pandorabots API talk API has a reset parameter used for bot development that clears out a bots memory if set to true. This is missing in the CLI and should be included as an option.

Verbose option for certain commands

Certain commands return metadata that is not currently being displayed from the cli. Adding a verbose flag to allow the user to see the full metadata would be a useful enhancement.

pb get
pb list

Missing shell script

Hi there,

Running ./test.sh according to the pb-cli guide produces -bash: cd: ./test: No such file or directory

Any idea what's going on there?

Thanks

Support subdirectories of files

When you download rosie, you get a bunch of files in various subdirectories (aiml, maps, sets, etc). But you can't pb push from the root directory as no files exist. So I have to push each subdirectory by hand. Maybe pb push can scan subdirectories if a flag is provided?

pb-cli 2.0 should support the public botkey

Our production API now uses a single botkey for talk interactions instead of the app_id and user_key.

pb-cli should:

  • Accept a botkey in the chatbot.json file
  • Use the botkey preferentially over the app_id and user_key for talk and atalk - this includes chat and achat

Note: aiaas is currently the default api for pb-cli, but does not use the botkey. We should consider updating the default api to the new api.pandorabots.com as part of this release.

Poor error reporting

I created a bot using the Playground and downloaded the zip. I unzipped it and then tried to push it using the CLI. This is what I got:

image

I've got no idea what to do. That's 8 errors - but they are so vague I can't tell what it means. Not only that, if they apply to particular files in my bot, I can't tell because no files are reported with the errors.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.