Table of Contents

Class LoopDetectionResult

Namespace
JD.AI.Core.Safety
Assembly
JD.AI.Core.dll

Result of a loop detection check.

public sealed record LoopDetectionResult : IEquatable<LoopDetectionResult>
Inheritance
LoopDetectionResult
Implements
Inherited Members

Constructors

LoopDetectionResult(LoopDecision, LoopType, string?)

Result of a loop detection check.

public LoopDetectionResult(LoopDecision Decision, LoopType Type = LoopType.None, string? Message = null)

Parameters

Decision LoopDecision
Type LoopType
Message string

Fields

Ok

No loop detected — everything is fine.

public static readonly LoopDetectionResult Ok

Field Value

LoopDetectionResult

Properties

Decision

public LoopDecision Decision { get; init; }

Property Value

LoopDecision

Message

public string? Message { get; init; }

Property Value

string

Type

public LoopType Type { get; init; }

Property Value

LoopType