feat(llm_guard.py): enable key-specific llm guard check

This commit is contained in:
Krrish Dholakia 2024-03-26 17:21:51 -07:00
parent 313f58c483
commit 7bc76ddbc3
8 changed files with 26 additions and 3 deletions

View file

@ -64,6 +64,7 @@ google_moderation_confidence_threshold: Optional[float] = None
llamaguard_unsafe_content_categories: Optional[str] = None
blocked_user_list: Optional[Union[str, List]] = None
banned_keywords_list: Optional[Union[str, List]] = None
llm_guard_mode: Literal["all", "key-specific"] = "all"
##################
logging: bool = True
caching: bool = (