AiCompilationResult

public sealed class AiCompilationResult
Outcome of compiling LLM source. On success carries the compiled AiComponentLogic; on failure carries diagnostics for the next round.

Constructors

AiCompilationResult

#
public AiCompilationResult(
logic,
diagnostics
)

Properties

Diagnostics

#
All diagnostics produced by the compiler. Never null.
public AiDiagnostic[] Diagnostics { get; }

Logic

#
The compiled logic, or null if compilation failed.
public AiComponentLogic Logic { get; }

Success

#
True iff Logic was produced.
public bool Success { get; }