pandorabots / pb-cli Goto Github PK
View Code? Open in Web Editor NEWPandorabots command line interface
License: BSD 2-Clause "Simplified" License
Pandorabots command line interface
License: BSD 2-Clause "Simplified" License
To recreate:
$ 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.
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.
boo@devops-008:~/rosie$ pb --botname alex push lib
uploading: lib/aiml/animal.aiml
botname required. use --botname or do init
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.
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.
The new pandorabots api allows referrer whitelisting to block requests coming from unknown referrers. To support this feature, pb-cli
needs to be able to send a user-defined referrer header with requests.
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
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
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 talk Hi
on the command line is spitting out "[Error: CERT_HAS_EXPIRED]". Any ideas?
Our production API now uses a single botkey for talk interactions instead of the app_id
and user_key
.
pb-cli should:
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.
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:
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.
PB init should ask for the hostname first, and ask for different credentials based on the hostname.
aiaas.pandorabots.com
should ask for the app_id
and user_key
api.pandorabots.com
should ask for the botKey
user_key and botkey can be generated with uppercase characters like A, B, C, etc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.