Table of Contents

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

string

Language

public ProgramLanguage Language { get; set; }

Property Value

ProgramLanguage

RequestId

public string? RequestId { get; set; }

Property Value

string

Success

public bool Success { get; set; }

Property Value

bool

Task

public abstract CodeTask Task { get; }

Property Value

CodeTask

Telemetry

public CodeTaskTelemetry Telemetry { get; set; }

Property Value

CodeTaskTelemetry