google / cro3

Abstraction Layer of ChromiumOS development
https://google.github.io/cro3/
BSD 3-Clause "New" or "Revised" License
36 stars 12 forks source link

Add an AI supported interactive mode #18

Open hikalium opened 1 year ago

hikalium commented 1 year ago

Since lium covers so many features and hard to sort the command/subcommand, it is helpful if it has an AI suggested or supported interactive mode. In this mode, user can ask lium how to do something in natural language.

$ lium bard
> what DUTs I have?
(lium): here are your DUTs
lazor_ABCDEFG ...
kaisa_ABCD123 ...
> I want to flash the latest test image on my lazor DUT.
(lium): I do flash the latest (R123-45678.0.0) test image on lazor_ABCDEFG
...
> Oh, I want to update the firmware on that DUT
(lium): I update the firmware on lazor_ABCDEFG
...
brandonpollack23 commented 11 months ago

do we have a link to the API for bard for this? I didn't know bard had that yet