< Summary

Information
Class: GistBackend.Handlers.AIHandler.EmbeddingClientHandlerOptions
Assembly: GistBackend
File(s): /home/runner/work/the-gist-of-it-sec/the-gist-of-it-sec/backend/GistBackend/Handlers/AIHandler/EmbeddingClientHandlerOptions.cs
Line coverage
66%
Covered lines: 2
Uncovered lines: 1
Coverable lines: 3
Total lines: 8
Line coverage: 66.6%
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 Crap Score Cyclomatic complexity Line coverage
get_ApiKey()100%11100%
get_Model()100%11100%
get_ProjectId()100%210%

File(s)

/home/runner/work/the-gist-of-it-sec/the-gist-of-it-sec/backend/GistBackend/Handlers/AIHandler/EmbeddingClientHandlerOptions.cs

#LineLine coverage
 1namespace GistBackend.Handlers.AIHandler;
 2
 3public record EmbeddingClientHandlerOptions
 4{
 55    public string ApiKey { get; init; } = "";
 106    public string Model { get; init; } = "text-embedding-3-large";
 07    public string? ProjectId { get; init; } = null;
 8}