-
Notifications
You must be signed in to change notification settings - Fork 596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI helper / personal assistant on command prompt #44
Comments
There are 4 types of sentence structures in English. Giving instructions and asking a question should be able to be done with type 1 - simple sentence. A simple sentence is an independent clause, which is made up of verb, pronoun, noun, adjective, adverb, conjunction, etc. Some more dev notes below. http://www.english-grammar-revolution.com/sentence-structure.html Types of intentions - 1. instruction, 2. question, 3. other types not yet thought of
Handling intention types - rough ideas how to approach
Context contains more info than opening verb / 5w1h
Filler words, parts of grammar with low info-density
Initial general structure of command line input
Technical design for initial implementation
Enough planning to start coding
|
Commit for php helper and linux/macos shell runner, outstanding is windows batch file. The TagUI scripts are already in natural-language-like syntax to convert to JS code. I want to have a helper that can convert natural-language-like instructions on the command line to call the right scripts with right parameters. Instead of typing tagui download_bank_report june on command prompt, I think it is more intuitive to support typing erina download my june bank report or something like that directly on command prompt. And let the magic happens behind the scenes to return the results. running this - erina 5w1h/verb fillers options/modifiers fillers single-or-multi-word-context results in running - tagui 5w1h/verb_context quiet options/modifiers calling using chrome/firefox/headless or with chrome/firefox/headless at the end of erina … will call tagui in visible chrome, firefox, headless chrome respectively. this feature allows future extension to natural language voice control. the trigger word erina can be changed by just renaming the erina file (macos/linux) or erina.cmd (windows) file.
committed for php helper that does the interpretation and the macos/linux runner. outstanding is windows erina.cmd batch file. |
Commit for windows batch file. For main commit for php helper and macos/linux see - tebelorg@3e3f924 015a14502 The TagUI scripts are already in natural-language-like syntax to convert to JS code. I want to have a helper that can convert natural-language-like instructions on the command line to call the right scripts with right parameters. Instead of typing tagui download_bank_report june on command prompt, I think it is more intuitive to support typing erina download my june bank report or something like that directly on command prompt. And let the magic happens behind the scenes to return the results. running this - erina 5w1h/verb fillers options/modifiers fillers single-or-multi-word-context results in running - tagui 5w1h/verb_context quiet options/modifiers calling using chrome/firefox/headless or with chrome/firefox/headless at the end of erina … will call tagui in visible chrome, firefox, headless chrome respectively. this feature allows future extension to natural language voice control. the trigger word erina can be changed by just renaming the erina file (macos/linux) or erina.cmd (windows) file.
- define php path for windows cli helper and output carriage return + line feed for generated tagui_helper.cmd - baseline option set flow file name variable correctly
tested alright for windows. macos/linux/windows all ok. closing issue. next is update readme for various commits / new features, |
Mr Kensoh, can you help me with this command: @echo off I want the first command (start chrome) to run, before the time and shutdown do. Like it should run and keep running as my PC is shutting down |
Hi @Vibra24 I've left AI Singapore and now @Aussiroth is maintaining TagUI, copying him. This isn't a TagUI question but a question on how to program Windows batch file. Normally && is used to combine command and only runs the next command when the first one comes back successfully.
I don't think start command will come back and return control to the batch file until Chrome browser quits. Not sure what you are trying to achieve, but here is the wrong place to ask about batch files, somewhere else with Windows batch file experts or perhaps stack overflow would be better. For example, below post uses https://stackoverflow.com/questions/17201507/how-to-use-the-start-command-in-a-batch-file |
Referencing - https://github.com/tebelorg/TagUI/issues/42#issuecomment-320465044
I would now really want to make a CLI helper which can help to run scripts. The TagUI scripts are already in natural-language-like syntax to convert to JS code. I want to have a helper that can convert natural-language-like instructions on the command line to call the right scripts with right parameters.
Instead of typing
tagui abc_bank_balance
on command prompt, I think it is more intuitive to support typingerina get my abc bank balance
or something like that directly on command prompt. And let the magic happens behind the scenes to return the results.Having this opens up voice-control possibility later on. And it has synergy with chat user interfaces.
The text was updated successfully, but these errors were encountered: