mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
13 lines
192 B
Python
13 lines
192 B
Python
|
from enum import Enum
|
||
|
|
||
|
|
||
|
class BaseModerationActions(Enum):
|
||
|
STOP = 1
|
||
|
ALLOW = 2
|
||
|
|
||
|
|
||
|
class BaseModerationFilters(str, Enum):
|
||
|
PII = "pii"
|
||
|
TOXICITY = "toxicity"
|
||
|
INTENT = "intent"
|