CodeTaskResultBase

Base Classes · AiDotNet.ProgramSynthesis.Results

Base type for structured results returned from code tasks.

Known derived types: CodeBugDetectionResult, CodeBugFixingResult, CodeCloneDetectionResult, CodeCompletionResult, CodeDocumentationResult, CodeGenerationResult, CodeRefactoringResult, CodeReviewResult, CodeSearchResult, CodeSummarizationResult, CodeTestGenerationResult, CodeTranslationResult, CodeUnderstandingResult

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.

How It Works

All task results include the task identity, a success/error envelope, and telemetry that can be tier-redacted by Serving.

Properties

Property Summary
CodeTask Task { get; }
CodeTaskTelemetry Telemetry { get; set; }
ProgramLanguage Language { get; set; }
bool Success { get; set; }
string Error { get; set; }
string RequestId { get; set; }