IBM / clai

Command Line Artificial Intelligence or CLAI is an open-sourced project from IBM Research aimed to bring the power of AI to the command line interface.
https://clai-home.mybluemix.net/
MIT License
475 stars 73 forks source link

Latency / Throughput Problems + Terminal Issues #47

Open salma-rodriguez opened 4 years ago

salma-rodriguez commented 4 years ago

Describe the bug I am currently using the x-terminal for Ubuntu Linux on an Acer Chromebook 14, model CB3-431. I am currently using the nlc2cmd skill.

When I open a new terminal window on the terminal emulator, everything works fine occasionally, but then commands stop functioning. Sometimes it does not work at all when I run a query.

I also have problems with the throughput of client-server access/response time. Although I do not run a test of the elapsed time for this, I know this could be Watson taking longer than usual. Does CLAI use a centralized REST protocol or decentralized (i.e., storage of cache packets is permissible to reduce latency)?

To Reproduce Steps to reproduce the behavior:

  1. Go to new terminal window
  2. Run a query, like "how do I compress a directory into a bz2 file"
  3. Reproducible error: "bash: how: command not found

Expected behavior Expecting to see a usage statement. I have the auto mode enabled, as can be seen in screenshot.

Screenshots link to screenshot

shell and OS (please complete the following information):

alexhaislip commented 2 years ago

I keep getting "-bash: clai: command not found". Do I need to add to PATH?