Table of Contents

Class AnalyzePromptInjectionResult

Namespace
FoundationaLLM.Gatekeeper.Core.Models.LakeraGuard
Assembly
FoundationaLLM.Gatekeeper.Core.dll

Prompt injection result.

public class AnalyzePromptInjectionResult
Inheritance
AnalyzePromptInjectionResult
Inherited Members
Extension Methods

Properties

Model

The model identifier string of the model used for analysis.

[JsonPropertyName("model")]
public string? Model { get; set; }

Property Value

string

Results

A list of results with an object containing each category that the prompt injection endpoint supports.

[JsonPropertyName("results")]
public required List<PromptInjectionResult> Results { get; set; }

Property Value

List<PromptInjectionResult>