From 8cf92c0ed65e19f6c7e83668fa78022c34829d95 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Sat, 31 Aug 2024 13:50:16 -0300 Subject: [PATCH] Updated. --- site/docs/chapter-05-gbdialog-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/docs/chapter-05-gbdialog-reference.md b/site/docs/chapter-05-gbdialog-reference.md index 3885cf08..d0d5bc91 100644 --- a/site/docs/chapter-05-gbdialog-reference.md +++ b/site/docs/chapter-05-gbdialog-reference.md @@ -76,7 +76,7 @@ To organize the instructions functionally, I'll group them into five categories: | HEAR _variable_ AS FILE | Returns a file uploaded by the user to be saved. |
HEAR file AS FILE 
SAVE file AS "uploads/myfile.pdf"
TALK "File uploaded and saved."
| | HEAR _variable_ AS AUDIO | Returns an audio file uploaded by the user to be saved. |
HEAR audio AS AUDIO 
SAVE audio AS "recordings/audiofile.mp3"
TALK "Audio received and saved."
| | INCLUDE file | Includes a file into .gbdialog. |
INCLUDE "script.gbdialog" 
TALK "File included."
| -| UPLOAD file | Uploads a file to a storage blob, like Azure Storage. |
UPLOAD "                                                                                                        |
+| UPLOAD file              | Uploads a file to a storage blob, like Azure Storage.   | 
UPLOAD "                                   
| path/to/file.pdf"
TALK "File uploaded to cloud storage."
| | DIR path | Returns a list of files in the specified directory. |
files = DIR "uploads/" 
TALK "Files in directory: " + files.
|