< Summary

Information
Class: Intentum.AI.ONNX.OnnxIntentModelOptions
Assembly: Intentum.AI.ONNX
File(s): /home/runner/work/Intentum/Intentum/src/Intentum.AI.ONNX/OnnxIntentModelOptions.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 16
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.ctor(...)100%11100%

File(s)

/home/runner/work/Intentum/Intentum/src/Intentum.AI.ONNX/OnnxIntentModelOptions.cs

#LineLine coverage
 1namespace Intentum.AI.ONNX;
 2
 3/// <summary>
 4/// Options for the ONNX-based local intent classifier.
 5/// </summary>
 6/// <param name="ModelPath">Path to the ONNX model file. Expected: input tensor [1, N] float, output tensor [1, C] float
 7/// <param name="IntentLabels">Intent names in order of model output indices (index 0 = first label, etc.). Length must 
 8/// <param name="FeatureDimensionNames">Dimension names (e.g. "user:click", "user:login") in order of model input indice
 9/// <param name="InputName">Optional. ONNX input tensor name; when null, the first input is used.</param>
 10/// <param name="OutputName">Optional. ONNX output tensor name; when null, the first output is used.</param>
 611public sealed record OnnxIntentModelOptions(
 1712    string ModelPath,
 1413    IReadOnlyList<string> IntentLabels,
 714    IReadOnlyList<string>? FeatureDimensionNames = null,
 415    string? InputName = null,
 1016    string? OutputName = null);