Interface ILakeraGuardService
- Namespace
- FoundationaLLM.Gatekeeper.Core.Interfaces
- Assembly
- FoundationaLLM.Gatekeeper.Core.dll
Interface for calling the Lakera Guard service.
public interface ILakeraGuardService
- Extension Methods
Methods
DetectPromptInjection(string)
Detects attempted prompt injections and jailbreaks in user prompts.
Task<string?> DetectPromptInjection(string content)
Parameters
content
stringThe text content that needs to be analyzed.