Table of Contents

Interface IEnkryptGuardrailsService

Namespace
FoundationaLLM.Gatekeeper.Core.Interfaces
Assembly
FoundationaLLM.Gatekeeper.Core.dll

Interface for calling the Enkrypt Guardrails service.

public interface IEnkryptGuardrailsService
Extension Methods

Methods

DetectPromptInjection(string)

Detects attempted prompt injections and jailbreaks in user prompts.

Task<string?> DetectPromptInjection(string content)

Parameters

content string

The text content that needs to be analyzed.

Returns

Task<string>

The text analysis restult, which includes flags that represents if the content contains prompt injections or jailbreaks.