Table of Contents

Struct IntentClassification

Namespace
JD.AI.Workflows
Assembly
JD.AI.Workflows.dll

Result of intent classification indicating whether a prompt represents a workflow.

public readonly record struct IntentClassification : IEquatable<IntentClassification>
Implements
Inherited Members

Constructors

IntentClassification(bool, double, IReadOnlyList<string>)

Result of intent classification indicating whether a prompt represents a workflow.

public IntentClassification(bool IsWorkflow, double Confidence, IReadOnlyList<string> SignalWords)

Parameters

IsWorkflow bool
Confidence double
SignalWords IReadOnlyList<string>

Properties

Confidence

public double Confidence { get; init; }

Property Value

double

IsWorkflow

public bool IsWorkflow { get; init; }

Property Value

bool

SignalWords

public IReadOnlyList<string> SignalWords { get; init; }

Property Value

IReadOnlyList<string>