prompt injection filter

This commit is contained in:
Jannik Streidl 2024-06-02 17:00:03 +02:00
parent b1f4018ed7
commit c381ea0b64

View File

@ -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.