LLMGraphSubmit[LLMGraph[…],input]
evaluates an LLMGraph asynchronously on the input input.
LLMGraphSubmit[LLMGraph[…],input,target]
specifies the outputs to compute.


LLMGraphSubmit
LLMGraphSubmit[LLMGraph[…],input]
evaluates an LLMGraph asynchronously on the input input.
LLMGraphSubmit[LLMGraph[…],input,target]
specifies the outputs to compute.
Details



- LLMGraphSubmit is used to schedule an asynchronous LLMGraph evaluation with granular access to the details of the computation.
- LLMGraphSubmit requires external service authentication, billing and internet connectivity.
- Possible values for input are:
-
val value for the single graph input <|name1val1, …|> values for each of the nodes or inputs namei - When specifying the nodes to compute, possible values for target are:
-
Automatic the output nodes (default) All all the nodes in a graph {namei,…} a subset of the graph nodes - When the computation of a node is required, all its dependencies are computed first.
- The following options can be specified:
-
Authentication Inherited authentication scheme HandlerFunctions how to handle generated events HandlerFunctionsKeys Automatic parameters to supply to handler functions LLMEvaluator $LLMEvaluator LLM configuration to use - During the asynchronous execution of LLMGraphSubmit, events can be generated.
- Events triggered by the graph processing:
-
"NodeCanceled" a node computation has been canceled "NodeFailed" a node computation has failed "NodeSubmitted" a node has been submitted for computation "NodeSynthesized" a node result has been computed "ResultGenerated" all the graph output nodes have been computed - Events triggered by the task framework:
-
"FailureOccurred" failure is generated during the computation "TaskFinished" task is completely finished "TaskRemoved" task is being removed "TaskStarted" task is started "TaskStatusChanged" task status changed - HandlerFunctionsf uses f for all the events.
- With the specification HandlerFunctions-><|…,"eventi"->fi,…|>, fi[assoc] is evaluated whenever eventi is generated. The elements of assoc have keys specified by the setting for HandlerFunctionsKeys.
- Possible keys specified by HandlerFunctionsKeys include:
-
"EventName" the name of the event being handled "Failure" failure object generated if execution failed "CurrentNode" the node that prompted the event "NodeResult" the result of "CurrentNode" "LLMGraph" current evaluation graph "GraphResults" all the node outputs "Task" the task object generated by LLMGraphSubmit "TaskStatus" the status of the task {key1,…} a list of keys All all keys Automatic figures out the keys from HandlerFunctions - Values that have not yet been received are given as Missing["NotAvailable"].
Examples
open all close allBasic Examples (3)
Inspect the output node result:
Submit a graph providing an evaluation input:
Inspect the output node result:
Inspect the generated LLMGraph, including all computation results:
Scope (8)
Evaluation (8)
Node Initialization (5)
Provide the input node values to start the graph evaluation:
If a single input is required, it is not necessary to use the Association:
If no input is required, the graph can be evaluated on an empty Association:
Submit an LLMGraph for partial evaluation, providing only a subset of the input nodes' values:
Bypass the node function evaluation, providing a result for the intermediate nodes:
Evaluation Properties (3)
Evaluate graph output nodes' results:
Request all nodes' results from an LLMGraph evaluation in the "GraphResult":
Inspect the results, including input and intermediate nodes:
Request a subset of an LLMGraph node results in the "GraphResult":
Only required ancestors up to the closest known node result were lazily added to the evaluation stack and run:
Options (14)
Authentication (2)
Specify the Authentication option values of the LLMGraph[…] are to be used:
Use an explicit Authentication setting to override what is stored in the LLMGraph[…]:
HandlerFunction (6)
LLMGraph Evaluation Events (5)
Check for node function submission and return:
Check for node canceled by the "TestFunction" result:
Check for node function failure: node failure prevents children nodes submission:
Save the evaluation results when the graph computation has reached the end:
Save partial evaluation results even when the graph computation could not be completed:
HandlerFunctionKeys (4)
Specify that the handler functions argument must contain only the current "TaskStatus" field:
Specify a list of keys that are provided to the handler functions:
Include all available keys in the Association provided to the handler functions:
LLMEvaluator (2)
With the default value LLMEvaluatorInherited, LLMGraphSubmit is using the LLMGraph evaluator:
Use LLMEvaluatorconfig to override the LLMGraph[…] evaluator:
Related Guides
History
Text
Wolfram Research (2025), LLMGraphSubmit, Wolfram Language function, https://reference.wolfram.com/language/ref/LLMGraphSubmit.html.
CMS
Wolfram Language. 2025. "LLMGraphSubmit." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LLMGraphSubmit.html.
APA
Wolfram Language. (2025). LLMGraphSubmit. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LLMGraphSubmit.html
BibTeX
@misc{reference.wolfram_2025_llmgraphsubmit, author="Wolfram Research", title="{LLMGraphSubmit}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/LLMGraphSubmit.html}", note=[Accessed: 04-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_llmgraphsubmit, organization={Wolfram Research}, title={LLMGraphSubmit}, year={2025}, url={https://reference.wolfram.com/language/ref/LLMGraphSubmit.html}, note=[Accessed: 04-August-2025]}