< Summary

Information
Class: Intentum.AI.FewShot.FewShotExample
Assembly: Intentum.AI
File(s): /home/runner/work/Intentum/Intentum/src/Intentum.AI/FewShot/IFewShotStore.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 14
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/FewShot/IFewShotStore.cs

#LineLine coverage
 1namespace Intentum.AI.FewShot;
 2
 73public sealed record FewShotExample(
 24    string IntentName,
 85    IReadOnlyList<string> BehaviorKeys,
 126    double Confidence);
 7
 8public interface IFewShotStore
 9{
 10    void AddExample(FewShotExample example);
 11    IReadOnlyList<FewShotExample> FindSimilar(string[] behaviorKeys, int topK = 5);
 12    void Clear();
 13    int Count { get; }
 14}