From c381ea0b6423e2bda04228d8fdccaf5a1fea0289 Mon Sep 17 00:00:00 2001 From: Jannik Streidl Date: Sun, 2 Jun 2024 17:00:03 +0200 Subject: [PATCH] prompt injection filter --- examples/llmguard_prompt_injection_filter_pipeline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/llmguard_prompt_injection_filter_pipeline.py b/examples/llmguard_prompt_injection_filter_pipeline.py index eb8b551..d720e54 100644 --- a/examples/llmguard_prompt_injection_filter_pipeline.py +++ b/examples/llmguard_prompt_injection_filter_pipeline.py @@ -26,8 +26,8 @@ class Pipeline: # Assign a unique identifier to the pipeline. # The identifier must be unique across all pipelines. # The identifier must be an alphanumeric string that can include underscores or hyphens. It cannot contain spaces, special characters, slashes, or backslashes. - self.id = "llmguard_filter_pipeline" - self.name = "LLMGuard Filter" + self.id = "llmguard_prompt_injection_filter_pipeline" + self.name = "LLMGuard Prompt Injection Filter" class Valves(BaseModel): # List target pipeline ids (models) that this filter will be connected to.