diff --git a/site/docs/chapter-05-gbdialog-reference.md b/site/docs/chapter-05-gbdialog-reference.md index 8508bed0..070dbcf1 100644 --- a/site/docs/chapter-05-gbdialog-reference.md +++ b/site/docs/chapter-05-gbdialog-reference.md @@ -100,6 +100,7 @@ To organize the instructions functionally, I'll group them into five categories: | HEAR _variable_ AS "Abacate", "Maçã", "Morango" | Displays the specified menu and waits for user selection. |
HEAR fruit AS "Abacate", "Maçã", "Morango"| | HEAR _variable_ AS LANGUAGE | Hears and validates a language code from the user. |
TALK "You selected: " + fruit.
HEAR language AS LANGUAGE| | HEAR _variable_ AS LOGIN (internal) | Waits for Active Directory login integration before proceeding. |
TALK "Language selected: " + language.
HEAR user AS LOGIN| +| HEAR _variable_ AS QRCODE | Hears and validates a QR code from a captured image. |
TALK "User logged in: " + user.
TALK "Send me an image with a QR Code."| ## Data Handling @@ -112,6 +113,7 @@ To organize the instructions functionally, I'll group them into five categories: | data = SELECT a, SUM(b) AS b FROM data GROUP BY a | Use SQL to manipulate a data variable returned from FIND or an array |
HEAR qrcode AS QRCODE
TALK "QR Code received: " + qrcode.
data = FIND "sales_data.xlsx", "A1:B10"| | file = data AS IMAGE | Converts a two-dimensional array into an image file. |
result = SELECT product, SUM(amount) AS total FROM data GROUP BY product
TALK "Query result: " + result.
file = data AS IMAGE| | file = data AS PDF | Converts a two-dimensional array into a PDF file. |
SAVE file AS "sales_chart.png"
TALK "Chart saved as image."
file = data AS PDF| +| file = CONVERT "mydesign.ai" | Converts a Adobe Illustrator to a HTML page. | | NEW OBJECT | Creates a new object to be used with REST calls. |
SAVE file AS "sales_report.pdf"
TALK "Report saved as PDF."
data = NEW OBJECT| | NEW ARRAY | Creates a new array. |
data.color = "blue"
TALK "New object created."
data = NEW ARRAY| | QRCODE | Creates a QR code from specified text. |
data[0] = "red"
TALK "New array created."
file = QRCODE "https://example.com"| diff --git a/site/docs/chapter-06-gbapp-reference.md b/site/docs/chapter-06-gbapp-reference.md index 4e0920a9..fc081063 100644 --- a/site/docs/chapter-06-gbapp-reference.md +++ b/site/docs/chapter-06-gbapp-reference.md @@ -99,16 +99,26 @@ apt install code curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh && sudo -E bash nodesource_setup.sh && sudo apt-get install -y nodejs && node -v - ``` #### Additional Infrastructure + + ``` + +apt-get update + +apt-get install build-essential cmake git pkg-config libjpeg-dev libtiff-dev libpng-dev libavcodec-dev libavformat-dev libswscale-dev libv4l-dev libatlas-base-dev gfortran python3-dev + +export OPENCV4NODEJS_DISABLE_AUTOBUILD=1 +export OPENCV_LIB_DIR=/usr/lib/x86_64-linux-gnu + apt-get install cpulimit -sudo apt-get install expect +apt-get install expect apt-get install libxtst-dev apt-get install libpng-dev + ``` diff --git a/site/docs/chapter-07-gbot-reference.md b/site/docs/chapter-07-gbot-reference.md index 72d34fe7..56edcb4a 100644 --- a/site/docs/chapter-07-gbot-reference.md +++ b/site/docs/chapter-07-gbot-reference.md @@ -51,6 +51,9 @@ here is a list of admin commands related to deploying .gb\* files. | WhatsApp Group ID | Group ID (accessible only in internal log) used to connect the Bot to a WhatsApp group. | | WhatsApp Group Name | WhatsApp group name that this Bot belongs to. | | WhatsApp Group Shortcuts | Space separeted list of triggers in text that will active Bot in groups. | +| Website | URL of website to use as bot knowledge base. Note: Answer Mode should be 'document' while using crawler. | +| Website Depth | Maximum website hyperlinks depth when crawling page contents. | +| Website Max Documents | Maximum website document count to be added to LLM embeddings. | | XRM Key | String key of HubSpot (currently) API. | Note that this variables are available in every .gbdialog code, automatically. @@ -180,23 +183,23 @@ The "Synchronize Database" setting determines whether the TABLE keyword should m You can change the theme color of the bot by selecting a color from the palette of General Bots available theme colors: -| Color | -|----------| -| grey | -| light | -| red | -| blue | -| green | -| yellow | -| purple | -| orange | -| brown | -| pink | -| cyan | -| lime | -| indigo | -| teal | -| violet | +| Color | +| ----------- | +| grey | +| light | +| red | +| blue | +| green | +| yellow | +| purple | +| orange | +| brown | +| pink | +| cyan | +| lime | +| indigo | +| teal | +| violet | | black-white | ---
SAVE file AS "qrcode.png"
TALK "QR Code generated."