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| | HEAR _variable_ AS AUDIO | Returns an audio file uploaded by the user to be saved. |
SAVE file AS "uploads/myfile.pdf"
TALK "File uploaded and saved."
HEAR audio AS AUDIO| | INCLUDE file | Includes a file into .gbdialog. |
SAVE audio AS "recordings/audiofile.mp3"
TALK "Audio received and saved."
INCLUDE "script.gbdialog"| -| UPLOAD file | Uploads a file to a storage blob, like Azure Storage. |
TALK "File included."
UPLOAD " | +| UPLOAD file | Uploads a file to a storage blob, like Azure Storage. || | DIR path | Returns a list of files in the specified directory. |UPLOAD "| path/to/file.pdf"
TALK "File uploaded to cloud storage."
files = DIR "uploads/"|
TALK "Files in directory: " + files.