Documentation
Table of Contents

Class AIResultBase

Namespace
IntentSharp.Results
Assembly
IntentSharp.dll

Result shared by typed and untyped operations.

public abstract class AIResultBase
Inheritance
object
AIResultBase
Derived
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Extension Methods

Constructors

AIResultBase()

Initializes an unsuccessful result with no issues, attempts or token usage; object initializers set the rest.

Properties

Attempts

One record per attempt, in order.

Elapsed

Wall-clock time of the whole operation, every attempt included.

FailureSummary

A one-line explanation of why the result failed, or null on success.

FromCache

True when the response came from the request cache and no model was called.

Intent

The intent the operation ran.

Issues

Problems found across all attempts. Empty on a clean first-attempt success.

Model

The model that produced the final reply; the primary provider's default model when no reply came back.

Provider

The provider that produced the final reply; the primary provider when no reply came back.

RawOutput

The final raw model output, before parsing.

Success

True when an attempt produced a value that passed every check.

Usage

Token usage summed across every model call, judge calls included.

Warnings

Advisory notes about the intent text, for example that it is very short or very long. Never affect success.