Class CodeTaskResultBase
- Namespace
- AiDotNet.ProgramSynthesis.Results
- Assembly
- AiDotNet.dll
Base type for structured results returned from code tasks.
public abstract class CodeTaskResultBase
- Inheritance
-
CodeTaskResultBase
- Derived
- Inherited Members
Remarks
All task results include the task identity, a success/error envelope, and telemetry that can be tier-redacted by Serving.
For Beginners: This is the common "envelope" for any code task result. It tells you whether the task succeeded, and it includes useful metadata about what happened.
Constructors
CodeTaskResultBase()
protected CodeTaskResultBase()
Properties
Error
public string? Error { get; set; }
Property Value
Language
public ProgramLanguage Language { get; set; }
Property Value
RequestId
public string? RequestId { get; set; }
Property Value
Success
public bool Success { get; set; }
Property Value
Task
public abstract CodeTask Task { get; }
Property Value
Telemetry
public CodeTaskTelemetry Telemetry { get; set; }