mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
add airline brand protection category yaml
This commit is contained in:
parent
ce8b2337e9
commit
ab3850cdb8
1 changed files with 89 additions and 0 deletions
|
|
@ -0,0 +1,89 @@
|
|||
# Airline Brand Protection
|
||||
# Prevents AI from generating fake incident reports, unauthorized statements, or negative PR
|
||||
# NOTE: The identifier_words use {{brand_name}} placeholder - this file is used as a reference.
|
||||
# The actual brand-specific keywords are injected at template instantiation time via blocked_words.
|
||||
category_name: "airline_brand_protection"
|
||||
description: "Prevents AI from generating fake incident reports, unauthorized airline statements, or reputation-damaging content"
|
||||
default_action: "BLOCK"
|
||||
|
||||
identifier_words:
|
||||
# Generic airline context (brand-specific terms injected at runtime)
|
||||
- "airline"
|
||||
- "carrier"
|
||||
- "airways"
|
||||
- "flights"
|
||||
|
||||
additional_block_words:
|
||||
# Fake incident reports
|
||||
- "crashed"
|
||||
- "crash landing"
|
||||
- "emergency landing"
|
||||
- "engine failure"
|
||||
- "engine fire"
|
||||
- "depressurization"
|
||||
- "hull breach"
|
||||
- "mayday"
|
||||
- "mid-air collision"
|
||||
- "near miss"
|
||||
- "fatality"
|
||||
- "fatalities"
|
||||
- "dead passengers"
|
||||
- "casualties"
|
||||
# Unauthorized statements
|
||||
- "official statement"
|
||||
- "spokesperson said"
|
||||
- "press release"
|
||||
- "confirms"
|
||||
- "announces"
|
||||
- "announced today"
|
||||
- "breaking news"
|
||||
- "just in"
|
||||
- "BREAKING"
|
||||
- "statement from"
|
||||
# PR / reputation attacks
|
||||
- "scandal"
|
||||
- "cover up"
|
||||
- "coverup"
|
||||
- "lawsuit"
|
||||
- "class action"
|
||||
- "mistreatment"
|
||||
- "safety violation"
|
||||
- "whistleblower"
|
||||
- "banned"
|
||||
- "grounded fleet"
|
||||
- "recall"
|
||||
- "boycott"
|
||||
- "worst airline"
|
||||
- "unsafe"
|
||||
- "dangerous"
|
||||
- "negligence"
|
||||
|
||||
always_block_keywords:
|
||||
- keyword: "plane crash"
|
||||
severity: "high"
|
||||
- keyword: "flight crashed"
|
||||
severity: "high"
|
||||
- keyword: "mid-air collision"
|
||||
severity: "high"
|
||||
- keyword: "passengers dead"
|
||||
severity: "high"
|
||||
- keyword: "confirms fatalities"
|
||||
severity: "high"
|
||||
- keyword: "safety scandal"
|
||||
severity: "high"
|
||||
- keyword: "fleet grounded"
|
||||
severity: "high"
|
||||
|
||||
exceptions:
|
||||
- "how safe is"
|
||||
- "safety record"
|
||||
- "safety rating"
|
||||
- "what is"
|
||||
- "explain"
|
||||
- "historical"
|
||||
- "aviation history"
|
||||
- "customer review"
|
||||
- "customer service"
|
||||
- "feedback"
|
||||
- "improve"
|
||||
- "complaint resolution"
|
||||
Loading…
Add table
Reference in a new issue