The Dust
app will include the following blocks:
INPUT
: Receives the inputs
from the Dust agent
CONFIG
: Set up global constants that can be reused throughout the app.GET_JOB_ID
: Sends a request to the Catalog public API using the input data to trigger the AI Assistant, then retrieves the jobId
CHECK_JOB_ID
: Handle the error and output from the previous step.POLLING
: A loop that repeatedly checks the Catalog public API
POLL_API
: Uses the jobId
to fetch the AI Assistant’s result from the Catalog public APISUMMARY
: Processes and returns the final responseINPUT
blockCONFIG
blockGET_JOB_ID
blockCHECK_JOB_ID
blockPOLLING
blockPOLL_API
blockSUMMARY
block