Merge branch 'main' into HuggingfacePostTrainingConfig-branch

This commit is contained in:
Sarthak Deshpande 2025-08-12 21:52:40 +05:30 committed by GitHub
commit 8768432c87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 60 additions and 54 deletions

View file

@ -64,6 +64,9 @@ class PromptGuardSafetyImpl(Safety, ShieldsProtocolPrivate):
return await self.shield.run(messages)
async def run_moderation(self, input: str | list[str], model: str):
raise NotImplementedError("run_moderation not implemented for PromptGuard")
class PromptGuardShield:
def __init__(