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

extending the State object #33

Open TathagataChakraborti opened 4 years ago

TathagataChakraborti commented 4 years ago

Crucial to the sense-act architecture for an AI agent is the State object that it can sense from the "environment" (in our case, the Bash). Depending on the requirements or most popular requests from the community, we will be extending the State object.

This thread is meant to track pending feature requests on this subject.

Screen Shot 2020-03-05 at 5 32 42 PM
TathagataChakraborti commented 4 years ago

@flipper83 we have visited the issue with stdout before, since it's hard to capture when the execution closes on the command line. We need to work a way around this coz too many of the use cases depend on the skills being able to read the output on the terminal.

Maybe we can add the stdout information from the last executed command? Ideas welcome!

flipper83 commented 4 years ago

As we told sometimes in the past, it's not possible take the stdout in an easy way, because we could have unexpected errors, like really big outputs, or interactives commands. And for not talking about security reasons