mirror of
https://github.com/open-webui/pipelines
synced 2025-06-26 18:15:58 +00:00
prompt injection filter
This commit is contained in:
parent
b1f4018ed7
commit
c381ea0b64
@ -26,8 +26,8 @@ class Pipeline:
|
|||||||
# Assign a unique identifier to the pipeline.
|
# Assign a unique identifier to the pipeline.
|
||||||
# The identifier must be unique across all pipelines.
|
# 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.
|
# 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.id = "llmguard_prompt_injection_filter_pipeline"
|
||||||
self.name = "LLMGuard Filter"
|
self.name = "LLMGuard Prompt Injection Filter"
|
||||||
|
|
||||||
class Valves(BaseModel):
|
class Valves(BaseModel):
|
||||||
# List target pipeline ids (models) that this filter will be connected to.
|
# List target pipeline ids (models) that this filter will be connected to.
|
||||||
|
Loading…
Reference in New Issue
Block a user