< Summary

Information
Class: Intentum.AI.Embeddings.IIntentEmbeddingProvider
Assembly: Intentum.AI
File(s): /home/runner/work/Intentum/Intentum/src/Intentum.AI/Embeddings/IIntentEmbeddingProvider.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 9
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
EmbedAsync(...)100%11100%

File(s)

/home/runner/work/Intentum/Intentum/src/Intentum.AI/Embeddings/IIntentEmbeddingProvider.cs

#LineLine coverage
 1namespace Intentum.AI.Embeddings;
 2
 3public interface IIntentEmbeddingProvider
 4{
 5    IntentEmbedding Embed(string behaviorKey);
 6
 7    Task<IntentEmbedding> EmbedAsync(string behaviorKey, CancellationToken cancellationToken = default)
 118        => Task.FromResult(Embed(behaviorKey));
 9}