My AI Sidekick - User Guide


Sidekick Commands

Input Panel

UIDescription
Talk to BotPush-to-talk - talk to bot
Log an EntryPush-to-talk - Log a journal entry
Log Entry and Bot's ReplyPush-to-talk - Log a journal entry and also a reply from Bot

Direct Commands

These are commands issued directly at bots without any transformation.

Format:

@BOT_NAME COMMAND ARGUMENTS

Examples:

@Ada search hello world
@Jarvis date 2023-10-01

Command Shortcuts

:COMMAND  

Issue a command COMMAND addressing the current bot.

For example:

:search hi there

Tell Jarvis (current bot) to search log entries database for text “hi there”. This is equivalent to @Jarvis search hi there.

Commands

CommandDescription
@Get current bot’s attention
@BOT_NAMESwitch to BOT_NAME and set as a current bot
:Reset search result, reset date, and show log entries from current date
:log TEXT 
.TEXT
Add TEXT with timestamp to log entries database
:search TEXT 
/TEXT
Search for TEXT in the log entries database
:deleteDelete selected log entries
:date YYYY-MM-DDSet date to YYYY-MM-DD and display log entries for that date
:dateReset date to today date and display log entries for today
:calDisplay date picker and allow date to be set using date picker
:prev 
<
Move to the date before and display log entries
:next 
>
Move to the next date and display log entries
:vol NUMBERSet volume to NUMBER where NUMBER are the values between 0 to 100
:train PHRASETeach current bot how to reply to a given PHRASE
:trainTeach (or correct) current bot how to reply to the previous PHRASE
:helpShow My AI Sidekick’s documentation and help pages
:dict WORDOpen Dictionary app on Mac and search for word WORD
:dictOpen Dictionary app
:selectSelect all log entries current on the display
:unselectUnselect all currently seclected log entries
:analyse PHRASEAnalyse a given PHRASE an give a reply
:analyse 
!
Analyse item(s) currently on the display. These can be: log entries, search results, selected log entries, or image from drag-n-drop operation
:stopwatchRead out the current time on stopwatch
:stopwatch startStart stopwatch
:stopwatch resetReset stopwatch
:export knowledgeExport all learned information for current bot and save it on a local device (Mac)
:import knowledgeOpen a file dialog to select a knowledge file and import into current learning bot
$WORD TEXTAdding TEXT into database for word WORD
$joke Knock Knock. Who’s there!Add new Knock Knock jokes. You can tell bot to retrieve this information later, see section below
$quote Buddha said, you become what you thinkAdd a quote to quote data(base)

Conversation with Learning Bots - Natural Language

Any text input not begin with : or any shotcuts above are considered as a conversation to current bot.

For example,

Hello there!

Just say Hello there! to current bot.

Current bot will reply to this conversation based on what it has learned. For example, some bot might reply to the above text as:

Hola! hermoso dia hoy

If the reply is not correct, or not what is expected, you can correct it by issuing a command :train.

:train

Bot will present you with a popup dialog for you to enter appropriate reply for a given phrase.

Training Dialog

Post Generatve Command Expansion

These are special words or commands that expand into a phrase or actions (or both) in replied text. For example, when training (using :train command) a bot to reply to a phrase what is the current time?, you can enter:

The current time is $CURRENT_TIME$

In the case, when the next time bot encouters phrases like what is the current time? (or any variations in this fashion), bot will reply The current time is 16:30 (or whatever the current time is).

Another example is, for example, when telling bot to reply to a phrase like tell me some joke, you can enter something like

$RANDOM_JOKE$

In this case, bot will search its jokes data(base) and randomly select one joke for you.

You can build up WORD database by entering them as follow.

Adding word database

Then immediately, issue a :train command to teach bot and save this new joke to bot’s database.

Save new word

Available Commands

CommandDescription
$ANALYSE$Bot will analyse whatever currently being displayed.
$RANDOM_JOKE$Bot will search its database for phrase started with $joke and expand into the replied text.
$RANDOM_QUOTE$Search for random quote from its database and expand into the replied text.
$CURRENT_TIME$Expand system current time into the replied text.
$CURRENT_DATE$Expand system current date into the replied text.
$STOPWATCH_START$Bot actions starting a stopwatch
$STOPWATCH_RESET$Bot stops and reset stopwatch
$STOPWATCH$Bot expands current duration of a stopwatch into a replied text.
$PREVIOUS_DAY$Bot set current date to the previous day and show log entries from that date.
$NEXT_DAY$Bot set current date to the next day and show log entries from that date.
$TODAY$Bot set date to today date and display log entries for today.
$SCREENSAVER$Bot activate system’s screensaver.

For example, you can teach bot to begin an analysis when encounter phrases like what do you think? as follow.

No comments:

Post a Comment